Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Comparing Lists of text using colors or by other means

I have two lists of account names (for example). 500 names in column A and
1000 names in column B. I would like to highlight or somehow alter the names
in column B that are in Column A without using the find and replace
function.. I do not want to do it one at a time but cannot figure out how to
do it with the entire range all at once? Goal is to then use the data
associated with the highlighted cells in column B for reports etc.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Comparing Lists of text using colors or by other means

Hi Jeff,

I am assuming names are identical in each list as to their spelling.
If your list starts in a1 and b1
put this formula in cell C1 (you can hide it later)

=IF(ISNA(VLOOKUP(B1,(A$1:A500),1,FALSE)),FALSE,TRU E)

500 being the length of your list or longer. Drag/copy it all the way down
or longer to the length of list B.

Highlight your ENTIRE list in B and select conditional formating.
In the formula line put

=c1=true

Then set whatever format highlight you want, such as bold characters or a
different color background. This is for office 2007. You may need to adjust
for 2000/2003.

Let me know if this works for you.

Squeaky.

"Jeff M" wrote:

I have two lists of account names (for example). 500 names in column A and
1000 names in column B. I would like to highlight or somehow alter the names
in column B that are in Column A without using the find and replace
function.. I do not want to do it one at a time but cannot figure out how to
do it with the entire range all at once? Goal is to then use the data
associated with the highlighted cells in column B for reports etc.

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 John Fesen Excel Discussion (Misc queries) 3 February 22nd 09 01:58 PM
Comparing Lists PAL Excel Worksheet Functions 2 August 8th 08 04:40 PM
Worksheet formatting (fill colors & text colors) disappeared sweettooth Excel Discussion (Misc queries) 2 June 24th 08 01:16 AM
comparing lists sofiane b via OfficeKB.com Excel Worksheet Functions 4 July 13th 05 06:47 PM
Comparing two lists Kyle New Users to Excel 5 May 10th 05 11:53 PM


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

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"