Match Names and Highlight Uniques

Justinian

Well-known Member
Joined
Aug 9, 2009
Messages
1,557
Office Version
  1. 365
Platform
  1. Windows
My boss wants to know who we hired from 2001 through current. Each year, I keep a list of all employees so for each year, most names are the same from the previous year except for the new hires. How do I create a formula that will run through the names on all years 2001 through 2017, only highlighting the unique names?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Re: Match ames and Highlight Uniques

If you have a list, and want to just highlight the unique entries, one way is to use Conditional Formatting.

Let's say your list is A2:A1000. Then select the whole range A2:A1000 and apply this Conditional Formatting formula:
Code:
=Countif($A$2:$A$1000,$A2)=1
and choose your format color.
 
Upvote 0
Re: Match ames and Highlight Uniques

Sorry, the lists are in separate columns. For example, the current 2017 employee list is A2:A108 and I want to compare that with the list of 2016 employees in C2:C111. Then I want to call attention to only the names in 2016 that are missing from 2017 so I know who to add to 2017.
 
Upvote 0
Re: Match ames and Highlight Uniques

Maybe one of the ways below:
To use conditional formatting:
Highlight your range for 2016
Then go to
-CONDITIONAL FORMATTING
-New Rule
-Use formula
formula in example (change ranges to match your data).
=ISERROR(MATCH(C2,$A$2:$A$12,0))

Or if you want a list of names then the formula in E2 of the example (change ranges to match your data). Drag formula down as needed.
This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDE
120172016List not in 2017
2Name1Name1Name4
3Name2Name2Name6
4Name3Name3Name28
5Name44Name4Name30
6Name5Name5Name12
7Name22Name6Name13
8Name7Name7
9Name8Name28
10Name9Name9
11Name10Name10
12Name11Name30
13Name12
14Name13
Sheet
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C21. / Formula is =ISERROR(MATCH(C2,$A$2:$A$12,0))Abc
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top