#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default List Comparison

I would be most grateful if someone could help.

I have two lists residing in Column A and Column B respectively. Both lists
contain 4 figure numbers. Column A contains the 'complete list' and Column B
only contains 'some' of the entries from Column A.

I would like Column A compared to Column B and any numbers that are not in
Column B but are in Column A put in Column C.

Many thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default List Comparison

hi,
in column C enter and then copy formula down

=IF(ISERROR(MATCH($A$1:$A$6,$B$1:$B$6,0)),$A$1:$A$ 6,"")

Change range to fit your needs

"SiH23" wrote:

I would be most grateful if someone could help.

I have two lists residing in Column A and Column B respectively. Both lists
contain 4 figure numbers. Column A contains the 'complete list' and Column B
only contains 'some' of the entries from Column A.

I would like Column A compared to Column B and any numbers that are not in
Column B but are in Column A put in Column C.

Many thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default List Comparison

Hi

Put this in C1 and copy down as required (expand the range if needed).

=IF(COUNTIF($B$1:$B$100,"=" & A1)=0,A1,"")

The value of column A will show in column C (same row as in column A) if it
is not in column B.

Hopes this helps.
....
Per

"SiH23" skrev i meddelelsen
...
I would be most grateful if someone could help.

I have two lists residing in Column A and Column B respectively. Both
lists
contain 4 figure numbers. Column A contains the 'complete list' and Column
B
only contains 'some' of the entries from Column A.

I would like Column A compared to Column B and any numbers that are not in
Column B but are in Column A put in Column C.

Many thanks in advance.


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default List Comparison

Assume source data as described are in row2 down
In C2: =IF(A2="","",IF(COUNTIF(B:B,A2),"",ROW()))
In D2: =IF(ROWS($1:1)COUNT(C:C),"",INDEX(A:A,SMALL(C:C,R OWS($1:1))))
Copy C2:D2 down to the last row of data in col A. Hide away/minimize col C.
Col D will return the required results all neatly packed at the top. Success?
hit the YES below
--
Max
Singapore
---
"SiH23" wrote:
I would be most grateful if someone could help.

I have two lists residing in Column A and Column B respectively. Both lists
contain 4 figure numbers. Column A contains the 'complete list' and Column B
only contains 'some' of the entries from Column A.

I would like Column A compared to Column B and any numbers that are not in
Column B but are in Column A put in Column C.

Many thanks in advance.

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
List Comparison Jeremy Excel Discussion (Misc queries) 2 December 2nd 08 11:21 PM
Is there a comparison list of commands? (Excel 2003 vs 2007) dustyr Excel Discussion (Misc queries) 2 August 17th 07 03:28 PM
Is there a comparison list of commands? (Excel 2003 vs 2007) Duke Carey Excel Discussion (Misc queries) 2 August 17th 07 01:59 AM
How do I create a comparison chart from a data list? comic guy Charts and Charting in Excel 2 September 19th 05 01:38 PM
list comparison sofiane benzaza via OfficeKB.com Excel Worksheet Functions 0 June 10th 05 04:33 PM


All times are GMT +1. The time now is 04:49 PM.

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"