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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

conditional formatting excel 2002

Status
Not open for further replies.

Joe1010

Programmer
Dec 11, 2006
49
US
I would like to add a conditional formatting (in excel 2002) for the entire line. The color of all columns should be changed based on the information in column G.
Is this possible without code?

Thanks
 
Please give a little more detail.

line? Do you mean Row or Column?

The color of all columns should be changed based on the information in column G.
So, I'm guessing here that you mean a whole row would be conditional formatting based on the column G?

If so, are you only looking at the one cell in column G that lines up with your one particular row?

Please give an example of the data you want to compare against as well..

--

"If to err is human, then I must be some kind of human!" -Me
 
If paid = Y the row should be green
Order# date customer amount Paid
123456 4/7/2008 Microsoft 520.33 Y
789456 4/7/2008 Excel 214.3 N
 
I think what you need may be along the lines of what I got some help with, except you're highlighting the whole row, whereas I was only highlighting one cell.

Take a look at this thread:
thread68-1360257

--

"If to err is human, then I must be some kind of human!" -Me
 




Hi,

When you assign the Formula is: textbox, make the COLUMN reference ABSOLUTE and the ROW reference RELATIVE, like...
[tt]
=$G2=CriteriaValue
[/tt]

Skip,

[glasses] [red][/red]
[tongue]
 
The link you gave me is more complicated formatting. I need a simple one line code.
If G1 = Y then A1, B1, C1, D1, E1, F1 should be green.
I select A1, B1, C1, D1, E1, F1, and then I go to conditional formatting, select Formula is, then what do I type.
Thanks
 




Select ALL your data range, like A1:G9999...
[tt]
Formula is: =$G1="Y"
[/tt]

Skip,

[glasses] [red][/red]
[tongue]
 
When I grow up, I wanna be just like Skip - able to answer a tall question in a single post! [wink]

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top