Hi,
sheet1 has a list of names
sheet2 has a list of names and some of the names are the same as sheet1.
What I want is for the names on sheet1 to indicate (preferably change text colour) if they are on sheet2.
Thanks
Hi,
sheet1 has a list of names
sheet2 has a list of names and some of the names are the same as sheet1.
What I want is for the names on sheet1 to indicate (preferably change text colour) if they are on sheet2.
Thanks
Last edited by dellf; 02-05-2009 at 06:24 AM.
Select your list in Sheet 1 and go to Format|Conditional Formatting
Select Formula Is from 1st dropdown and enter formula: =MATCH(A1,INDIRECT("Sheet2!A:A"),0)
where A1 is the top most cell in your selection (change as necessary) and Sheet2!A:A contains the names to match up with.
Click Format and choose colour scheme.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Hi,
Thanks for the reply, however the problem has gotten worse!?!
Some of the names do as the conditional formatting rule should, whilst others don't.
I can't understand why.
Make sure the ones you think should match are indeed exact matches... ie. spelled the same, no extra spaces or other characters, etc... Also if you are matching numbers, they must both be number formats.
If you can't figure it out, post an example workbook, showing the problem.
Thank you very much
please see my example
rather than me going back and forth to physically check inaccuracies, can you give a couple of examples of where things are not right?
thanks
Edit: Actually, I did just notice, that, as I had mentioned would be a possible problem, in your sheet1 there are many names at the bottom that do have an extra space at the end.. that is why you don't get matches... you should eliminate those spaces...
but you can change the CF formula to this:
=MATCH(TRIM(A1),INDIRECT("list!d2:d414"),0)
to get matches as if the spaces were not there.
reselect column A and invoke the CF dialogue.. replace the formula.
Last edited by NBVC; 02-04-2009 at 12:42 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks