JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,691
- Office Version
- 365
- Platform
- Windows
The built-in highlighting function for duplicates is very handy. But I can only get it to work on one table column. Is there a way to get it to treat 2 columns as if they were one?
In the tables below, it worked on the state columns. For the table on the left, I selected both name columns then added the highlighting. But it applies to each column separately. For the table on the right, I manually highlighted the cells that are duplicates in both name cells. That is how I would like it to work in the table the left. Is there any way to make that happen?
In the tables below, it worked on the state columns. For the table on the left, I selected both name columns then added the highlighting. But it applies to each column separately. For the table on the right, I manually highlighted the cells that are duplicates in both name cells. That is how I would like it to work in the table the left. Is there any way to make that happen?
Conditional Highlighting.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | |||
5 | State | First Name | Last Name | State | First Name | Last Name | |||
6 | California | Ansel | Adams | California | Ansel | Adams | |||
7 | Utah | Butch | Cassidy | Utah | Butch | Cassidy | |||
8 | Vermont | Bernie | Sanders | Vermont | Bernie | Sanders | |||
9 | Maine | Stephen | King | Maine | Stephen | King | |||
10 | Chicago | Michael | Jordan | Chicago | Michael | Jordan | |||
11 | Alabama | Lionel | Richie | Alabama | Lionel | Richie | |||
12 | California | Joe | DiMaggio | California | Joe | DiMaggio | |||
13 | South Dakota | Kristi | Noem | South Dakota | Kristi | Noem | |||
14 | Nevada | Mark | Twain | Nevada | Mark | Twain | |||
15 | Washington, D. C. | Stephen | Colbert | Washington, D. C. | Stephen | Colbert | |||
16 | Delaware | Joe | Biden | Delaware | Joe | Biden | |||
17 | New York | Joe | DiMaggio | New York | Joe | DiMaggio | |||
18 | California | Arnold | Schwarzenegger | California | Arnold | Schwarzenegger | |||
19 | Massachusets | John | Adams | Massachusets | John | Adams | |||
20 | Tennessee | Michael | Jordan | Tennessee | Michael | Jordan | |||
Sheet2 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
H17:I17 | Cell Value | duplicates | text | NO |
H12:I12 | Cell Value | duplicates | text | NO |
H20:I20 | Cell Value | duplicates | text | NO |
H10:I10 | Cell Value | duplicates | text | NO |
G20 | Cell Value | duplicates | text | NO |
G10 | Cell Value | duplicates | text | NO |
C6:C20 | Cell Value | duplicates | text | NO |
D6:E20 | Cell Value | duplicates | text | NO |
G6:G9,G11:G19 | Cell Value | duplicates | text | NO |