bluebell123
New Member
- Joined
- Jun 17, 2016
- Messages
- 2
Hi,
I was wondering if somebody could help.
I'm trying to identify apply an embedded IF formula to identify whether a date in a one cell is before or after another cell.
The two date cells my formula is referring to are loss date and renewal date.
The IF function reads:
Loss date is in column U and the Renewal Date is in column CA. Both columns are formatted as a short date.
So the formula I have entered is:
=IF(U1>CA1, C1, IF(U1=C1, C1, IF(U1<CA1, CA1-365)))
Applying the above formula results in the last embedded formula to be triggered even if the logical test does not apply.
Any help would be greatly appreciated.
Thanks.
I was wondering if somebody could help.
I'm trying to identify apply an embedded IF formula to identify whether a date in a one cell is before or after another cell.
The two date cells my formula is referring to are loss date and renewal date.
The IF function reads:
- if the loss date is after the renewal date - return the renewal date
- if the loss date = the renewal date - return the renewal date
- if the loss date is before the renewal date - return the renewal minus 366
Loss date is in column U and the Renewal Date is in column CA. Both columns are formatted as a short date.
So the formula I have entered is:
=IF(U1>CA1, C1, IF(U1=C1, C1, IF(U1<CA1, CA1-365)))
Applying the above formula results in the last embedded formula to be triggered even if the logical test does not apply.
Any help would be greatly appreciated.
Thanks.