G
Guest
My worksheet contains a column (C) with either "annual" or "semi-annual". The
next column (D) contains a start date. The following column (E) has an end
date. In this end date column, I need to come up with a formula that checks
the date in the "start date" column, and adds either 6 months or 12 months to
the date depending upon if "annual" or "semi-annual" is in the first column.
I tried entering this into E5 this but it doesn't work:
=IF(C5="Annual","=EDATE(D5,12)","=EDATE(D5,6)")
Is there some other way to do this? I'm new to Excel so any help would be
appreciated.
Thank you.
next column (D) contains a start date. The following column (E) has an end
date. In this end date column, I need to come up with a formula that checks
the date in the "start date" column, and adds either 6 months or 12 months to
the date depending upon if "annual" or "semi-annual" is in the first column.
I tried entering this into E5 this but it doesn't work:
=IF(C5="Annual","=EDATE(D5,12)","=EDATE(D5,6)")
Is there some other way to do this? I'm new to Excel so any help would be
appreciated.
Thank you.