Strange colour formatting

WatfordKev

Board Regular
Joined
Mar 30, 2011
Messages
78
I have a cell with the following formula. As well as setting the value ("green" "red" or "amber") the background of the cell gets coloured green red or amber, and I can't see how or why - any ideas welcome!

=IF(OR(N28="",AH28=""),"",IF(AND(AG28=0,AH28=0),"Green",IF($H28="High",IF(AI28>=O28,"Green",IF(AI28<=P28,"Red","Amber")),IF($H28="Low",IF(AI28<=P28,"Green",IF(AI28>=O28,"Red","Amber")),""))))

NB! Even if I type 'Red' 'Green' or 'Amber' in the cell, the background colour changes...
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

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