Conditional formatting ? numbers match highlight?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
​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,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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