Conditional formatting ? numbers match highlight?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,100
Office Version
  1. 365
Platform
  1. Windows
Hi I have on one sheet column M to R. If number in these cells match the same numbers from C to G. Then highlight those cells that match from C to G.

So lets example if 5 is in M4 and 5 is then in D5. Highlight D5 any help thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
​ok yeah I screwed up it works now thanks agina

You're welcome. To answer your question, COUNTIF checks a range for a criteria. The range is all of the data in columns M through R and the criteria is C3. Conditional formatting then checks M:R for D3, E3, etc. as well as C4, C5, etc.

A result of 0 is seen as FALSE while a result of anything >=1 is seen as TRUE.
 
Upvote 0
You're welcome. To answer your question, COUNTIF checks a range for a criteria. The range is all of the data in columns M through R and the criteria is C3. Conditional formatting then checks M:R for D3, E3, etc. as well as C4, C5, etc.

A result of 0 is seen as FALSE while a result of anything >=1 is seen as TRUE.

Thanks makes sense
 
Upvote 0

Forum statistics

Threads
1,221,525
Messages
6,160,329
Members
451,637
Latest member
hvp2262

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