ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   color row based on table (https://www.excelbanter.com/excel-programming/336802-color-row-based-table.html)

Don S[_2_]

color row based on table
 
Trying to color rows in spreadsheet based on table and variable

Table sheet is as folllows:

var1 color
var2 color
va 3 color

My code needs to be
If cell x in sheet Y = varx
apply color to entirerow of sheet Y

Any help?

Nigel_hough

color row based on table
 

Have You Tried Conditional Formatting

Its in Format Conditional Formatting...

You can set the background colour of a cell/row based on a cells
value.

You could do a condition for every colour you wouldn't need the colour
table.

Hope That Helps


--
Nigel_hough
------------------------------------------------------------------------
Nigel_hough's Profile: http://www.excelforum.com/member.php...o&userid=20623
View this thread: http://www.excelforum.com/showthread...hreadid=394263



All times are GMT +1. The time now is 05:23 PM.

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