View Single Post
 
Old 10-15-2014, 05:23 AM
mnut mnut is offline Windows XP Office 2003
Novice
 
Join Date: Oct 2014
Posts: 2
mnut is on a distinguished road
Default Adding duplicates as comments

Hello!

I have two sheets, one is a diagram of peoples jobs the other is a list of names against job numbers.

Using the below formula the jobs are populated by the names of the workers, however there are duplicates (more workers than jobs).
=IF(ISNA(VLOOKUP(R36,'Nom Roll'!$I$3:$K$65536,3,FALSE)),"VACANT",VLOOKUP(R36 ,'Nom Roll'!$I$3:$K$65536,3,FALSE))

I need a bit of code that will trawl the list identify duplicates, put the duplicate names into a comment on the cell with the above formula and finaly turn the cell red.

Sorry if its a bit basic, anyone have any ideas?
Thanks in advance.
Mike
Reply With Quote