Conditional Formatting

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I'm looking to highlight cells that match in value, in pairs of 2. 4&5, 6&7, 8&9, 10&11, 12&13, etc.
Thank you.

NFL.xlsm
W
450%
558%
658%
758%
833%
942%
1017%
1158%
1267%
1342%
Weekly Picks
Cells with Conditional Formatting
CellConditionCell FormatStop If True
W4:W35Cell Valuetop 1 valuestextNO
W4:W35Cell Valuetop 3 bottom valuestextNO
W4:AB35Expression=W4=MAX(OFFSET(W$4,FLOOR(ROW(W4)-ROW(W$4),2),0,2,1))textNO
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Your example does not seem to match what you are describing. What kind of highlighting do you want on the matching pairs, since you already have a bunch of highlighting you are applying?

You will need two rules. Each one applies to the range W4:W35.

Excel Formula:
=AND(ISEVEN(ROW(W4)),W4=W5)

=AND(ISODD(ROW(W4)),W4=W3)
 
Upvote 0
Solution
Your example does not seem to match what you are describing. What kind of highlighting do you want on the matching pairs, since you already have a bunch of highlighting you are applying?

You will need two rules. Each one applies to the range W4:W35.

Excel Formula:
=AND(ISEVEN(ROW(W4)),W4=W5)

=AND(ISODD(ROW(W4)),W4=W3)
Works perfectly. I just wanted to highlight the matches in a different color, but I was having trouble to match the pair.
thank you.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,199
Members
449,072
Latest member
DW Draft

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