Apply conditional formatting based on Lookup over multiple columns

Jasuan

New Member
Joined
Jan 16, 2014
Messages
34
Office Version
  1. 365
Platform
  1. Windows
My tables have Badge Numbers and Account IDs. Table 1 has the Badge Numbers pivoted where the row has one Account ID and multiple Badge Numbers across multiple columns. Table 2 has the Badge Numbers unpivoted, so each row has one Badge Number and one Account Number. I would like to apply a conditional formatting to the Account IDs in Table 2 if the Account ID associated to the Badge Number in Table 1 does not match.

In the images below, Table 1 has the Orange header and Table 2 has the black. The lookup value is Table 2 Column A, Lookup Array is Table 1 Columns E:P. The columns to check for match is Column A in Table 1, and Column C in Table 2.

Thanks for looking at my question.
 

Attachments

  • Table 2.png
    Table 2.png
    37.6 KB · Views: 3
  • Table 1.png
    Table 1.png
    50.7 KB · Views: 4

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,215,029
Messages
6,122,757
Members
449,094
Latest member
dsharae57

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