#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Comparing Lists

I am trying to find which items in Column B are missing from A (finding the
reverse would be helpful to; any in column A not in column b)

Column A has data in 389 rows (A2:A389)
Column B has data in 400 rows (B2:B400)

I thought the formula below in Column C will call out the differences

=IF(B2=$A$2:$A$389,"Yes", "") then drag down to 400.

Ideas. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Comparing Lists

=IF(COUNTIF($A$2:$A$389,B2),"yes","")

copy down


"PAL" wrote:

I am trying to find which items in Column B are missing from A (finding the
reverse would be helpful to; any in column A not in column b)

Column A has data in 389 rows (A2:A389)
Column B has data in 400 rows (B2:B400)

I thought the formula below in Column C will call out the differences

=IF(B2=$A$2:$A$389,"Yes", "") then drag down to 400.

Ideas. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Comparing Lists

=IF(COUNTIF($A$2:$A$389,B2)=0,"missing","")

--
Gary''s Student - gsnu200798


"PAL" wrote:

I am trying to find which items in Column B are missing from A (finding the
reverse would be helpful to; any in column A not in column b)

Column A has data in 389 rows (A2:A389)
Column B has data in 400 rows (B2:B400)

I thought the formula below in Column C will call out the differences

=IF(B2=$A$2:$A$389,"Yes", "") then drag down to 400.

Ideas. Thanks.

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 two lists pgarcia Excel Discussion (Misc queries) 2 February 20th 07 09:45 PM
Comparing Lists Constantly Amazed Excel Worksheet Functions 1 September 13th 06 05:42 PM
comparing lists - i think xeno Excel Discussion (Misc queries) 2 August 18th 06 01:59 PM
Comparing Lists Q Excel Worksheet Functions 1 November 7th 05 09:08 PM
comparing lists Prixton Excel Discussion (Misc queries) 1 February 26th 05 07:04 PM


All times are GMT +1. The time now is 04:11 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"