Conditional formatting

UFGATORS

Board Regular
Joined
Nov 28, 2008
Messages
136
Office Version
  1. 365
Hello, I need assistance with conditional formatting, in cell AZ880 the user will enter a value, I need this cell to turn green if the value entered is equal to the lowest value in either cells AX or AY 880. If the value in AZ880 does not match the lowest value in either cells AX or AY880 I need the cell to turn red. Thanks in advance.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
how about
=AZ880<>MIN(AX880:AY880) for red
=AZ880=MIN(AX880:AY880) for green
 
Upvote 0
Use the formula option

Rule 1
=AZ880=MIN(AX880:AY880)
Green

Rule 2
=AZ880<>MIN(AX880:AY880)
Red

M.
 
Last edited:
Upvote 0
Thank you Marcelo and Fluff, both of you had the same response, worked perfectly.
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0
Hello again, one more thought, is it possible to edit the formula to have cell AZ880 remain green if there is no entry?
 
Upvote 0
Why not just manually set the cell to green & only use the red formula in CF?
 
Upvote 0
.. is it possible to edit the formula to have cell AZ880 remain green if there is no entry?
Why not just manually set the cell to green & only use the red formula in CF?
Because if AX & AY both contained non-zero numbers and AZ was blank, the red rule would be True.

I would go with manually formatting AZ880 green and using this as the red CF formula

=AND(AZ880<>"",AZ880<>MIN(AX880:AY880))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,649
Members
448,975
Latest member
sweeberry

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