ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Changing colours by conditions (https://www.excelbanter.com/excel-discussion-misc-queries/89038-changing-colours-conditions.html)

duncan79

Changing colours by conditions
 

This has probably been asked a hundred times over but hey...

i want to change the colour of an area based on the contents of one
cell

2 areas,
2 conditions
2 alternating colours

anybody know what expression would i need to use to acheive this???

thanks duncan


--
duncan79
------------------------------------------------------------------------
duncan79's Profile: http://www.excelforum.com/member.php...o&userid=30833
View this thread: http://www.excelforum.com/showthread...hreadid=542858


Ian P

Changing colours by conditions
 
You need to use conditional formatting. Select FormatConditional Fomratting
and then follow the prompts.

HTH

Ian

"duncan79" wrote:


This has probably been asked a hundred times over but hey...

i want to change the colour of an area based on the contents of one
cell

2 areas,
2 conditions
2 alternating colours

anybody know what expression would i need to use to acheive this???

thanks duncan


--
duncan79
------------------------------------------------------------------------
duncan79's Profile: http://www.excelforum.com/member.php...o&userid=30833
View this thread: http://www.excelforum.com/showthread...hreadid=542858



duncan79

Changing colours by conditions
 

Thanks, but...

how does this work if the condition the colour relies on is not the
cell whose colour is to be changed

If the area is K14:P33 and the condition is in H13???


--
duncan79
------------------------------------------------------------------------
duncan79's Profile: http://www.excelforum.com/member.php...o&userid=30833
View this thread: http://www.excelforum.com/showthread...hreadid=542858


Dave

Changing colours by conditions
 
At the Conditional Formating prompt select "Formula is" and enter =$H$13=1
or whatever the criteria is.

db
"duncan79" wrote in
message ...

Thanks, but...

how does this work if the condition the colour relies on is not the
cell whose colour is to be changed

If the area is K14:P33 and the condition is in H13???


--
duncan79
------------------------------------------------------------------------
duncan79's Profile:
http://www.excelforum.com/member.php...o&userid=30833
View this thread: http://www.excelforum.com/showthread...hreadid=542858





All times are GMT +1. The time now is 12:02 PM.

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