ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with Conditional Formatting (Dates) (https://www.excelbanter.com/excel-discussion-misc-queries/68027-help-conditional-formatting-dates.html)

BigH

Help with Conditional Formatting (Dates)
 
Hi there hopefully someone can help,

I want the cell to turn white if its the same date as two other cells or if
its less than the date in these two other cells, else it goes red if greater
than the dates in the two cells.

i.e cell a1 and a2 must have the same dates. cell a3 if it has the same date
or less than a1 and a2 it goes white, if its greater than a1 and a2 (whose
dates must be the same) then it goes red


thanks in advance BigH



pinmaster

Help with Conditional Formatting (Dates)
 
In conditional formatting:
condition 1 - "formula is" =AND(A1=A2,A3<=A1)...click on Format and format
as desired, click on Add.
condition 2 - "formula is" =AND(A1=A2,A3A1)....again format as desired.

HTH
JG


"BigH" wrote:

Hi there hopefully someone can help,

I want the cell to turn white if its the same date as two other cells or if
its less than the date in these two other cells, else it goes red if greater
than the dates in the two cells.

i.e cell a1 and a2 must have the same dates. cell a3 if it has the same date
or less than a1 and a2 it goes white, if its greater than a1 and a2 (whose
dates must be the same) then it goes red


thanks in advance BigH





All times are GMT +1. The time now is 04:48 PM.

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