Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default compare two lists

Excel 2007, Windows XP SP2

trying to compare two lists, one should be a sub set of the other, I'd like
to high light any values in the smaller list (sub set one) that is not found
in the super set. can this be done with vlookup and if so, do you have an
example i can use?

thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default compare two lists

Hi,
Assuming your large list is A1:A21
Assuming your small list starts in B1, going down the column

Select all items in the small list, starting with B1
Open the Conditional Format dialog box
Select 'Formula is'
Put this in the formula field:
=COUNTIF($A$1:$A$21,$B1)=0
Select your format (eg red bold font)
OK
The cells you want should be red bold font.

Change the references to suit your data.
Hope this is what you need.
Regards - Dave.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default compare two lists

Thanks man, that was great.


"Dave" wrote in message
...
Hi,
Assuming your large list is A1:A21
Assuming your small list starts in B1, going down the column

Select all items in the small list, starting with B1
Open the Conditional Format dialog box
Select 'Formula is'
Put this in the formula field:
=COUNTIF($A$1:$A$21,$B1)=0
Select your format (eg red bold font)
OK
The cells you want should be red bold font.

Change the references to suit your data.
Hope this is what you need.
Regards - Dave.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default compare two lists

Glad to help.
Thanks for the feedback.
Regards - Dave.
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
compare lists teejay Excel Worksheet Functions 6 September 20th 07 09:14 PM
Compare two lists ExcelInExcel Excel Discussion (Misc queries) 2 June 8th 07 09:09 PM
Compare two lists? s_tyrone Excel Discussion (Misc queries) 1 November 30th 05 02:47 PM
compare two lists rob p Excel Discussion (Misc queries) 3 October 10th 05 07:01 PM
compare two lists rob p Excel Worksheet Functions 3 October 10th 05 07:01 PM


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