Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BP BP is offline
external usenet poster
 
Posts: 2
Default Need help comparing 2 columns of number to find unique numbers

I have 2 columns of numbers. The first column is a list of unique IDs
(221 IDs) that have signed up for a training program. The second
column is the full list of people who are assigned to course (360
IDs). I need a third column to display only the IDs that do not show
up in the first column.

Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Need help comparing 2 columns of number to find unique numbers

Column A has the 221 ID's; Column B has the 360 IDs
In C1 enter =IF(COUNTIF(A:A,B1),"",B1)
Copy this down the column by double clicking C1's fill handle (small solid
square in its lower right corner)
ID's that are in B but not in A are displayed in C
Not happy with the blanks? Use Copy followed by Paste Special - Values to
convert formulas to values and sort column C
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"BP" wrote in message
...
I have 2 columns of numbers. The first column is a list of unique IDs
(221 IDs) that have signed up for a training program. The second
column is the full list of people who are assigned to course (360
IDs). I need a third column to display only the IDs that do not show
up in the first column.

Any help would be appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BP BP is offline
external usenet poster
 
Posts: 2
Default Need help comparing 2 columns of number to find unique numbers

On Jan 5, 3:37*pm, "Bernard Liengme"
wrote:
Column A has the 221 ID's; Column B has the 360 IDs
In C1 enter =IF(COUNTIF(A:A,B1),"",B1)
Copy this down the column by double clicking C1's fill handle (small solid
square in its lower right corner)
ID's that are in B but not in A are displayed in C
Not happy with the blanks? Use Copy followed by Paste Special - Values to
convert formulas to values and sort column C
best wishes
--
Bernard Liengme
Microsoft Excel MVPhttp://people.stfx.ca/bliengme

"BP" wrote in message

...



I have 2 columns of numbers. *The first column is a list of unique IDs
(221 IDs) that have signed up for a training program. *The second
column is the full list of people who are assigned to course (360
IDs). *I need a third column to display only the IDs that do not show
up in the first column.


Any help would be appreciated.- Hide quoted text -


- Show quoted text -


Excellent!! Thank you very much!
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Need help comparing 2 columns of number to find unique numbers

Hi,

First of all kindly put headers for the both the columns. In a blank cell
(say E17), type Criteria and in cell E18, type =COUNTIF($E$6:$E$13,H6)=0.
H6 is the cell reference of the first ID which has signed up for the
training program. E6:E13 has the list of unique ID's. Now click on any
blank cell and go to Data Filter Advanced Filter Copy to another
location. In the list box, select H5:H15 (please note that H5 is the header
row). In the criteria range, select E17:E18. In the copy box, select any
one blank cell. Now click on OK

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"BP" wrote in message
...
I have 2 columns of numbers. The first column is a list of unique IDs
(221 IDs) that have signed up for a training program. The second
column is the full list of people who are assigned to course (360
IDs). I need a third column to display only the IDs that do not show
up in the first column.

Any help would be appreciated.


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
comparing columns to find dup's stacey Excel Worksheet Functions 2 April 24th 09 01:24 AM
comparing columns to find a difference ysobored Excel Worksheet Functions 1 October 17th 08 08:03 PM
Find total number of unique model numbers Brian Excel Worksheet Functions 8 September 19th 08 05:51 AM
find a number between numbers in two separate columns confused about ranges Excel Worksheet Functions 2 December 30th 06 01:41 PM
two columns of numbers, need to sort/filter to find one number th. Larry in Seattle Excel Discussion (Misc queries) 1 December 10th 04 06:17 AM


All times are GMT +1. The time now is 10:36 AM.

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

About Us

"It's about Microsoft Excel"