ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Background color change, by using the formula. (https://www.excelbanter.com/excel-programming/403104-background-color-change-using-formula.html)

Sarveshwar Trangadia

Background color change, by using the formula.
 
I want to change the background color of the cell by using conditional formula.
like...
Cell A1's Background color should be
Red, if B1C1
Black, if B1=C1 &
Green, if B1<C1.




carlo

Background color change, by using the formula.
 
Select A1
Go to Format -- Conditional Formatting...
Choose Formula is and enter: =B1C1
format your background by clicking on format...
then add a rule and change to Formula is and enter:
=B1=C1 and format the background.
and then last but not least add the last rule, change
to formula is and enter: =B1<C1

hth

Carlo


On Dec 21, 3:03*pm, Sarveshwar Trangadia <Sarveshwar
wrote:
I want to change the background color of the cell by using conditional formula.
like...
Cell A1's Background color should be
* * * * * *Red, if B1C1
* * * * * *Black, if B1=C1 &
* * * * * *Green, if B1<C1.




All times are GMT +1. The time now is 08:37 AM.

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