ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Condition format a row based on a formula (https://www.excelbanter.com/excel-worksheet-functions/185968-condition-format-row-based-formula.html)

Tysmema

Condition format a row based on a formula
 
I need to conditional format any row in red based on if the date in one cell
is less than 60 days from the date in another cell. What is the formula I
use?

Max

Condition format a row based on a formula
 
"Tysmema" wrote:
I need to conditional format any row in red based on if the date in one cell
is less than 60 days from the date in another cell. What is the formula I
use?


Assume start/earlier dates in A1 down, end/later dates in B1 down
Select entire sheet, then apply CF using formula is:
=AND(COUNT($A1:$B1),$B1-$A1<60)
Format to taste OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

Cimjet[_2_]

Condition format a row based on a formula
 
Hi Tysmema
Select the row you like to change colour and Conditional Format formula is
:eg: =$A$1<$B$1-60
change cell reference to your need.
Regards
Cimjet
"Tysmema" wrote in message
...
I need to conditional format any row in red based on if the date in one
cell
is less than 60 days from the date in another cell. What is the formula I
use?




All times are GMT +1. The time now is 09:48 AM.

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