![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 3
|
i have a long column of phonenumbers(A) and a shorter column(B)
how do i remove phonenumbers in columnB from A? |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Dilli
Best way (and quickest) is this. Copy # in Column B to the end of Column A so that you have one long list of numbers.Ensure you have a heading in Cell A1 Select any single cell in column and go to Data>Filter>Advanced filter. Choose "Copy to another location" Choose a range to "Copy To:" tick "Unique Records only" and click Ok That's it. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 3
|
Tried it, but it led to me getting another list with ALL uniques from A + B , what i seek is a list of listA - listB.
|
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Try
=IF(COUNTIF($B:$B,A1)=0,A1,"") In column C then sort and change to values via Paste Special. |
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Posts: 3
|
that will only write a1 if not found in columnB right? , but i need it to cover whole column A , not just a1.
|
|
|
|
|
|
#6 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Copy it down.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|