Conditional Formatting States

mkyb14

Board Regular
Joined
Aug 30, 2008
Messages
56
Happy Friday!

Looking to see if there's a way to do a conditional format of a column of states that have mixed in non-US locations

Currently I have a list of employees and the states they cover
John Smith, MD, WY, TN
Arron Smith, OK, TX, FL

Each of these is a separate column.

I then have a master account sheet which has the following
Company name , state

Company foo, TX
Company A, OK
Company B, FL
Company C, AB

What I'm trying to solve for is the list of employee's is in columns with the states they support in separate cells. From the master sheet you'll see Company C is AB (alberta canada), and I'd like to figure out a way to highlight this to draw attention when reviewing the master sheet.

I tried following some rules that are similar to =match(b2,'employeestate'!a1:e10,0) on the master sheet holding the company names, but nothing seems to work from what I can google.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try this conditional formatting formula:

=OR(B2='employeestate'!$a$1:$e$10)

I should mention I'm working on this in google sheets. And it doesn't work either. B2 is the result of a vlookup, would that have an issue applying a conditional format to it? There are no other rules applied to this column from a conditional standpoint.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,053
Members
449,206
Latest member
Healthydogs

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