I just started a job that sometimes requires a lot of excel usage (and knowledge), so I am extremely excited to find this website and such a large collective of Excel brains!
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o> Currently, I have an excel workbook that has 5 sheets in it, all with the same general template (it’s an accounting spreadsheet with the same headers)- I need to make it so that various cells in the middle columns fill with various colors depending on the value (e.g. -2 to + 2 = yellow, less than -2 = red, and greater than +2 = green).
<o> </o> In order to expedite this process, I tried selecting all sheets, then selecting columns D-F (where the cells are located), and applying conditional formatting (using “Cell Value is” and “Value is less than -2 = red” and so forth).
However, doing so colors every empty cell in columns D-F yellow! Is there a way to fix this?
<o> </o> Thanks very much for your assistance!
Hi JDI:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o> What you posted is what I’m looking for, in its simplest form; essentially, if there are values in the cell, -2 to +2 = yellow, less than -2 = red, greater than +2 = green.
<o> </o> Right now the sheet has the conditional formatting applied to it already, with the values being -5 to +5 = yellow (and so on; the percentages used to be 5’s and now I need to change them to 2’s).
<o> </o> The original person who worked with this sheet applied conditional formatting using “cell value is” conditions for the 3 values (and 3 colors), and for some reason I can’t apply a 4<SUP>th</SUP> condition (the formula that you gave me).
<o> </o> I’ve attached a copy of the sheet here: http://www.flickr.com/photos/60846417@N03/5860156857/sizes/l/in/photostream/
<o> </o> Essentially, when I highlight columns D,E and F and apply conditional formatting (just by going into the existing conditional formatting and changing the values from 5’s to 2’s), it changes EVERY blank cell (to yellow); I imagine it’s because excel counts blank cells as “0,” which is between -2 and +2, but I’m not sure how to overcome this- again, it won’t let me apply a 4<SUP>th</SUP> condition to the sheet.
Thanks again, JDI! Your help is much appreciated!
<o> </o> -PortlandBlue
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.