ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional format a cell based on another range of cells (https://www.excelbanter.com/excel-worksheet-functions/125370-conditional-format-cell-based-another-range-cells.html)

ked

Conditional format a cell based on another range of cells
 
I am trying to format cell "A" to have a fill color IF cells b3-aq3 have a
date less than today's date. I entered this formulaL: =$b$3:$aq$5<=(NOW()).
but for some reason it's only formatting based on the value in b3 rather
than any of the cells in the range. any help woul be greatly appreciated!

Peo Sjoblom

Conditional format a cell based on another range of cells
 
Try

=COUNTIF($B$3:$AQ$5,"<="&NOW())0


Regards,

Peo Sjoblom


ked wrote:
I am trying to format cell "A" to have a fill color IF cells b3-aq3 have a
date less than today's date. I entered this formulaL: =$b$3:$aq$5<=(NOW()).
but for some reason it's only formatting based on the value in b3 rather
than any of the cells in the range. any help woul be greatly appreciated!


ked

Conditional format a cell based on another range of cells
 
Peo

Thank you - it worked - now can you tell me if there is a way to copy this
CF to other cells as I have a bunch to do this with.

Thanks,
KED

"Peo Sjoblom" wrote:

Try

=COUNTIF($B$3:$AQ$5,"<="&NOW())0


Regards,

Peo Sjoblom


ked wrote:
I am trying to format cell "A" to have a fill color IF cells b3-aq3 have a
date less than today's date. I entered this formulaL: =$b$3:$aq$5<=(NOW()).
but for some reason it's only formatting based on the value in b3 rather
than any of the cells in the range. any help woul be greatly appreciated!



Bob Phillips

Conditional format a cell based on another range of cells
 
Select all the cells, and then assuming row 3 is first select row, use

=COUNTIF($B3:$AQ3,"<="&NOW())0


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"ked" wrote in message
...
Peo

Thank you - it worked - now can you tell me if there is a way to copy this
CF to other cells as I have a bunch to do this with.

Thanks,
KED

"Peo Sjoblom" wrote:

Try

=COUNTIF($B$3:$AQ$5,"<="&NOW())0


Regards,

Peo Sjoblom


ked wrote:
I am trying to format cell "A" to have a fill color IF cells b3-aq3
have a
date less than today's date. I entered this formulaL:
=$b$3:$aq$5<=(NOW()).
but for some reason it's only formatting based on the value in b3
rather
than any of the cells in the range. any help woul be greatly
appreciated!





ked

Conditional format a cell based on another range of cells
 
Thank You!

"Bob Phillips" wrote:

Select all the cells, and then assuming row 3 is first select row, use

=COUNTIF($B3:$AQ3,"<="&NOW())0


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"ked" wrote in message
...
Peo

Thank you - it worked - now can you tell me if there is a way to copy this
CF to other cells as I have a bunch to do this with.

Thanks,
KED

"Peo Sjoblom" wrote:

Try

=COUNTIF($B$3:$AQ$5,"<="&NOW())0


Regards,

Peo Sjoblom


ked wrote:
I am trying to format cell "A" to have a fill color IF cells b3-aq3
have a
date less than today's date. I entered this formulaL:
=$b$3:$aq$5<=(NOW()).
but for some reason it's only formatting based on the value in b3
rather
than any of the cells in the range. any help woul be greatly
appreciated!






All times are GMT +1. The time now is 10:33 PM.

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