Conditional Formatting - Icon Sets comparison folmula

southernhotrod

New Member
Joined
Apr 30, 2016
Messages
2
I need a formula that would allow me to use all three arrows (red, yellow, and green) depending on if the cells being compared are <, =, or >.

Less would be red, = would be yellow, and greater would be green.

Currently I am using an if formula if(A1>A2,3,1), and applying the conditional formatting depending on the outcome of the if statement. It works great for green and red, but I can't get the yellow to work.

My brain is tired :eek:, so I am sure it is something simple that is escaping me.

Please help?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,

May be this: =IF(A1>A2,3,IF(A1=A2,2,1))
 
Upvote 0

Forum statistics

Threads
1,215,335
Messages
6,124,326
Members
449,155
Latest member
ravioli44

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