Help with conditional formatting

jteti09

New Member
Joined
Jan 20, 2014
Messages
5
Please help, what I am trying to do is very simple, yet I cannot find a solution anywhere in these forums or elsewhere via google searching. All I want to do is compare to columns, row by row, and highlight the cell with the higher value in each row, for a very long list of entries. In the example, below, I want it to highlight B1, A2, A3, and B4.


A B

5 10
4 2
9 4
15 21

I saw several solutions that say I have to use two conditional formatting rules, one for each column, which makes sense. If the range is A1:A1000 for example, I would highlight that range and set the CF formula to =A1>B1, and then do the same but reverse the formula for B1:B1000. However, this is only checking if A1>B1, and then highlighting the entire range if that statement is true. I want it to check each row. Is this not possible?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You can use 1 conditional format for both columns..

Try highlighting A1:B4 and enter the formula
=A1=MAX($A1,$B1)
 
Upvote 0
Your formula works on the example data, but when I try to adapt it to my actual data, it ceases to function as intended. I'm assuming because the two columns aren't contiguous. Any thoughts on how to fix this? I am looking to compare column C and E. I have included a snapshot of the data here:

imgur: the simple image sharer
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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