ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Problem with cell shading (https://www.excelbanter.com/excel-worksheet-functions/67023-problem-cell-shading.html)

Mark J

Problem with cell shading
 

If a table like this


Var00

860%
2518%


-40%
60%
8%


I want to color the cell red when they are 10% positive
And green if they are when they are < 10 negative


--
Mark J
------------------------------------------------------------------------
Mark J's Profile: http://www.excelforum.com/member.php...o&userid=30738
View this thread: http://www.excelforum.com/showthread...hreadid=504376


Bob Phillips

Problem with cell shading
 
Select all the cells, starting at let's say A2

Menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add formula of =A2.01
Click Format
Select Pattern tab
Select red
OK

Click Add
Change Condition 1 to Formula Is
Add formula of =A2<-.01
Click Format
Select Pattern tab
Select green
OK

OK

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Mark J" wrote in
message ...

If a table like this


Var00

860%
2518%


-40%
60%
8%


I want to color the cell red when they are 10% positive
And green if they are when they are < 10 negative


--
Mark J
------------------------------------------------------------------------
Mark J's Profile:

http://www.excelforum.com/member.php...o&userid=30738
View this thread: http://www.excelforum.com/showthread...hreadid=504376





All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com