ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can Iextend a cell conditional formating to an entire line ? (https://www.excelbanter.com/excel-worksheet-functions/151840-how-can-iextend-cell-conditional-formating-entire-line.html)

Luc Bongoy

How can Iextend a cell conditional formating to an entire line ?
 
Hello all,
I would like to have my conditional formatting applyed from one cell to all
the cells of my worksheet which are one the same line or to a range of
horizontal line, How can I do that?


Tks for your quick answer

David Biddulph[_2_]

How can Iextend a cell conditional formating to an entire line ?
 
Use "Formula Is", rather than "Cell Value Is".
If you wish all cells in the row to be affected by the formatting based on
the value of one cell in that row, then in the conditioning formatting
formula use absolute addressing for the column and relative addressing for
the row, e.g. =$A1=99
--
David Biddulph

"Luc Bongoy" <Luc wrote in message
...
Hello all,
I would like to have my conditional formatting applyed from one cell to
all
the cells of my worksheet which are one the same line or to a range of
horizontal line, How can I do that?


Tks for your quick answer




Max

How can Iextend a cell conditional formating to an entire line ?
 
The key lies in freezing the column part of the cell ref with the "$" sign in
the CF.

Suppose you want to conditionally format the whole row within the range
B2:E5 based on values in B2:B5 which are equal to 9

Select B2:E5 (B2 active), then apply CF using
Formula is: =$B2=9
Format as desired, ok out

If say, B3 = 9, then the row B3:E3 would be conditionally formatted
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Luc Bongoy" wrote:
Hello all,
I would like to have my conditional formatting applyed from one cell to all
the cells of my worksheet which are one the same line or to a range of
horizontal line, How can I do that?


Tks for your quick answer



All times are GMT +1. The time now is 04:20 AM.

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