ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional formating (https://www.excelbanter.com/excel-discussion-misc-queries/15642-conditional-formating.html)

Esrei

Conditional formating
 
I want to change the background of a whole line in a
worksheet every where where the value of a cell in that
line is X. =indirect("rc",0)= "x" only changes the
background in the cell not the whole line

Bob Phillips

Don't know why you are using indirect, but select the whole row and use a
formula of

=$A1="x"

oe whatever cell it is

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Esrei" wrote in message
...
I want to change the background of a whole line in a
worksheet every where where the value of a cell in that
line is X. =indirect("rc",0)= "x" only changes the
background in the cell not the whole line




ESREI

it is not only the value in one cell there are losts of
cells in the sheet with value x and I want excel to chang
the coulor of every row where this value apears.
-----Original Message-----
Don't know why you are using indirect, but select the

whole row and use a
formula of

=$A1="x"

oe whatever cell it is

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Esrei" wrote in

message
...
I want to change the background of a whole line in a
worksheet every where where the value of a cell in that
line is X. =indirect("rc",0)= "x" only changes the
background in the cell not the whole line



.


Jim May

Click on say Row5's header, then format, C/F; formulaIs

=IF(COUNTIF($A5:$G5,"X")0,TRUE,FALSE)
pick color, Ok Out

Click again on Row5's Header, then with Format Painter
Select row6's row header and Drag down to say Row Header 50.
Change #'s according to need.

Jim



"Esrei" wrote in message
...
I want to change the background of a whole line in a
worksheet every where where the value of a cell in that
line is X. =indirect("rc",0)= "x" only changes the
background in the cell not the whole line




Bob Phillips

okay, use a formula of

=COUNTIF(1:1,"x")0

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ESREI" wrote in message
...
it is not only the value in one cell there are losts of
cells in the sheet with value x and I want excel to chang
the coulor of every row where this value apears.
-----Original Message-----
Don't know why you are using indirect, but select the

whole row and use a
formula of

=$A1="x"

oe whatever cell it is

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Esrei" wrote in

message
...
I want to change the background of a whole line in a
worksheet every where where the value of a cell in that
line is X. =indirect("rc",0)= "x" only changes the
background in the cell not the whole line



.





All times are GMT +1. The time now is 02:15 AM.

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