Conditional formatting based on a range in sheet 1

mbtaichi

Board Regular
Joined
Jan 5, 2016
Messages
71
Is there a formula that I can use in conditional formatting to change the background colour of a cell if the same name appears in the range?
On a Sheet called Rota 2 are a list of names in column C.
On a sheet called A/L. I have a range of data A13:H35.
I would like to change the background colour if any of the names in column C (Rota 2) if they appear in column A in the range A13:H35 on the sheet named A/L

Thanks<o:p></o:p>
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Sure. Used Named Ranges. Name the range on sheet A/L (i.e. "MyRange") then you can use a Conditional Formatting formula like:
Code:
=COUNTIF(MyRange,$C1)>0
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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