In Excel 2003, I have a list of dates, which part of a train timetable. The train only departs on EVEN dates and arrives at its' destination the following day.
In A1 I have a date, 1-1-2010, for example.
In A2, I want to check the date in A1, if it is ODD, then return FALSE, if it is EVEN, then show that date +1.
What do I mean by ODD/EVEN? With 31 days in the month, 1st, 3rd, 5th .. 31st are ODD, and 2nd, 4th .. 30th are EVEN.
I have used this formula successfully, but there is an imposed limit of 7 nested arguments:
=IF(A$1=1,"FALSE",IF(A$1=2,A$1+1,IF(A$1=3,"FALSE",IF(A$1=4,A$1+1,IF(A$1=5,"FALSE",IF(A$1=6,A$1+1,IF(A$1=7,"FALSE",IF(A$1=8,A$1+1))))))))
Because of the limitations with Excel 2003 I can not grow this formula for all 31 days.
Is there a way to simplify the formula?
Many thanks for your help!
Andy
Bookmarks