ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Cell background color update (https://www.excelbanter.com/excel-worksheet-functions/102119-cell-background-color-update.html)

SalamElias

Cell background color update
 
Hi, I havnt done Excel programming since Excel 5. Is it possible (using
functions) to auto change the background color of a cell according to a value
in another cell. Lets say if C4 cell = 1, then cell D4 is red, otherwise blue
using an if as follows "IF(C4=1, Red, Blue)
I don't want to use macros. If I should use a Macro, how I can update
automatically without the need to a buton click.
Thanks

VBA Noob

Cell background color update
 

Conditional formatting can handle 3 conditions.

Just go to Format Conditional formatting

Otherwise it's VBA code

See attached for more info

http://www.ozgrid.com/VBA/excel-cond...ting-limit.htm

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=566383


SalamElias

Cell background color update
 
wonderfull, so many thanks

"VBA Noob" wrote:


Conditional formatting can handle 3 conditions.

Just go to Format Conditional formatting

Otherwise it's VBA code

See attached for more info

http://www.ozgrid.com/VBA/excel-cond...ting-limit.htm

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=566383




All times are GMT +1. The time now is 12:49 AM.

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