C
cmatera
Trying to determine if the date and the time in a cell are the last
day of the month, and if that's the case I want to perform a certain
operation.
Here's what I have so far:
=IF(NOT(DATE(YEAR(A1),MONTH(A1)+1,0)),1,0)
A1 is 2/29/08
My formula returns 0, I would expect this to return a 1 as 2/29/08 IS
the last day of February...
Any ideas why this might not be working?
Thanks
Chris
day of the month, and if that's the case I want to perform a certain
operation.
Here's what I have so far:
=IF(NOT(DATE(YEAR(A1),MONTH(A1)+1,0)),1,0)
A1 is 2/29/08
My formula returns 0, I would expect this to return a 1 as 2/29/08 IS
the last day of February...
Any ideas why this might not be working?
Thanks
Chris