Hi all, i am struggling with a formula that compares two date fields. the first date field is built by formula and the second is static (hard coded in a cell at the top of the page).
Formula: IF(AND(L2>=$S$1,OR(M2=$V$1,M2=$W$1,M2=$U$1)),"Type A","Type B") where
L2 is a Date (Date 1)
S1 is a static date (Date 2)
M2 is payment amount
U,V,W are amounts
So the formula reads " if Date 1 is greater than or equal to Date 2 AND the payment amount is the same as U,V, or W, then this is a Type A. Everything else is a Type B.
in all cases when Date 1 is blank, the result returned is Type A. How can the Blank Date be greater than the static date? How can I amend the formula to function correctly?
Formula: IF(AND(L2>=$S$1,OR(M2=$V$1,M2=$W$1,M2=$U$1)),"Type A","Type B") where
L2 is a Date (Date 1)
S1 is a static date (Date 2)
M2 is payment amount
U,V,W are amounts
So the formula reads " if Date 1 is greater than or equal to Date 2 AND the payment amount is the same as U,V, or W, then this is a Type A. Everything else is a Type B.
in all cases when Date 1 is blank, the result returned is Type A. How can the Blank Date be greater than the static date? How can I amend the formula to function correctly?