M
mlv
I need to check to see if the dates in two discrete cells are the same.
However, I only want to compare the month and the year, the day doesn't
matter.
For example:
A1 12/04/2007
B1 30/04/2007
C1 12/05/2007
D1 12/04/2006
IF(A1=B1,"TRUE","FALSE") result TRUE (the month and the year are
identical).
IF(A1=C1,"TRUE","FALSE") result FALSE (the months are different).
IF(A1=D1,"TRUE","FALSE") result FALSE (the years are different).
Is this easy to achieve?
Thanks
However, I only want to compare the month and the year, the day doesn't
matter.
For example:
A1 12/04/2007
B1 30/04/2007
C1 12/05/2007
D1 12/04/2006
IF(A1=B1,"TRUE","FALSE") result TRUE (the month and the year are
identical).
IF(A1=C1,"TRUE","FALSE") result FALSE (the months are different).
IF(A1=D1,"TRUE","FALSE") result FALSE (the years are different).
Is this easy to achieve?
Thanks