Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Casino Guy
 
Posts: n/a
Default Filtering Columns to Align Matching Data

If I have a list of data in column A, ie: phone numbers, and I also have a
list of similar data in column B.

Some, but not all numbers in column B match numbers in column A.

Is there a way to filter the two columns so that matching data from columns
A & B are aligned?


  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

from what I understand vlookup function will be useful

--
remove $$$ from email addresss to send email

=========

"Casino Guy" wrote in message
...
If I have a list of data in column A, ie: phone numbers, and I also have

a
list of similar data in column B.

Some, but not all numbers in column B match numbers in column A.

Is there a way to filter the two columns so that matching data from

columns
A & B are aligned?




  #3   Report Post  
Casino Guy
 
Posts: n/a
Default

R. Venkataraman

Thanks for your response but I don't know how to use the vlookup function
therefore I still haven't solved my problem.
Could you possibly create an example?



"R.VENKATARAMAN" wrote:

from what I understand vlookup function will be useful

--
remove $$$ from email addresss to send email

=========

"Casino Guy" wrote in message
...
If I have a list of data in column A, ie: phone numbers, and I also have

a
list of similar data in column B.

Some, but not all numbers in column B match numbers in column A.

Is there a way to filter the two columns so that matching data from

columns
A & B are aligned?





  #4   Report Post  
Max
 
Posts: n/a
Default

"Casino Guy" wrote:
.. Could you possibly create an example ..


One play assuming I've read your underlying intent correctly ..

Assume col A contains the "master" list of numbers, and col B contains
another list to be checked against the master, data from row1 down, e.g.:

500 385
385 124
489 562
829 489
419 829
etc etc

Put in C1:
= IF(B1="","",IF(ISNUMBER(MATCH(B1,A:A,0)),ROW(),"") )

Put in D1:
= IF(B1="","",IF(ISNUMBER(MATCH(B1,A:A,0)),"",ROW()) )

Put in E1:
=IF(ISERROR(SMALL(C:C,ROWS($A$1:A1))),"",
INDEX($B:$B,MATCH(SMALL(C:C,ROWS($A$1:A1)),C:C,0)) )

Copy E1 across to F1

Then just select C1:F1 and copy down
until the last row of data in col B

Col E returns all the numbers in col B found in col A
Col F returns all the numbers in col B not found in col A

(Results will be nicely bunched at the top in cols E & F)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Max
 
Posts: n/a
Default

For the sample data in the example,
you'd get in cols E & F:

385 124
489 562
829

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
import data to specific columns marlea Excel Discussion (Misc queries) 1 August 12th 05 02:05 AM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 1 February 10th 05 11:05 PM
Matching data in one column to another excel idiot Excel Worksheet Functions 1 January 14th 05 02:15 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Filtering Text Data from Multiple columns Brad Excel Worksheet Functions 6 January 1st 05 03:32 PM


All times are GMT +1. The time now is 12:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"