Enter date based on another date

MPFraser7

New Member
Joined
Dec 14, 2016
Messages
34
The title doesn't say much so let me explain further.

The value in A2 is manual input and it could be any date in the calendar, from 1999 to 2017. In column B, I need to enter a formula that returns which ever comes first, November 6th or the day and month of A2 + 1 year. Refer to table for an example of desired results

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date1[/TD]
[TD]Date2[/TD]
[/TR]
[TR]
[TD]09/07/2014[/TD]
[TD]06/11/2014[/TD]
[/TR]
[TR]
[TD]07/11/2014[/TD]
[TD]09/07/2015[/TD]
[/TR]
[TR]
[TD]10/07/2015[/TD]
[TD]06/11/2015[/TD]
[/TR]
[TR]
[TD]07/11/2015[/TD]
[TD]09/07/2016[/TD]
[/TR]
</tbody>[/TABLE]
 
I think this version solves the hire date after November 7th issue:
Code:
=IF(TEXT(A2,"mmdd")+0<=1106,DATE(YEAR(A2),11,6),IF(TEXT(A2,"mmdd")+0=1107,DATE(YEAR(A2)+1,MONTH($A$2),DAY($A$2)), DATE(YEAR(A2)+1,11,6)))
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top