Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally formatting an entire row

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
It's been a while since I've worked with Excel spreadsheets and needed to do this trick - and find myself unable to recall how.

What I want to be able to do is colour the contents of an entire row in the spreadsheet based on the value in one of it's columns.
For instance if cell A10 contains the number 2 I want to colour the whole of row 10 as red - that is cells A10, B10, C10, etc.

In my quick reminder of how to use conditional formatting I find myself only able to conditionally set the properties of one cell - rather than the entire row.

What am I doing wrong?
Thanks in advance.
Steve
 




Hi,

Select the entire range, but configure your formula in the Conditional Formatting Formula Is: box to reference the COLUMN as absolute and the ROW as relative.

Skip,

[glasses]Did you hear what happened when the OO programmer lost his library?...
He's now living in OBJECT poverty![tongue]
 
This is true, to format conditionally whole row you need to format eazch cell. To do it in one go, select the row and format (use absolute column reference in formatting: $A10 or $A$10).

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top