Eligibility Date formula 1 year service open enrollment Jan 1, Jul 1

starryexcel

New Member
Joined
Aug 30, 2016
Messages
6
I have searched and searched so I am now asking my first question.

I am looking for the formula to give me 1 year after date of hire, Jan 1 or Jul 1 whichever comes first to provided the date of open enrollment for 401K.

Cell A1 (Today's Date)
Cell J9 (Date of Hire)
Cell Q9 (Eligibility date, either 1/1 or 7/1, one year after cell J9)

Thank you for help "excel wonders of the world"...
 
Shg, you are truly amazing, absolutely amazing! Thank you so much.

I had no idea how exciting asking a question on here would be...
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
One final simplification:


A​

B​

C​

1​

DoH

DoE

2​

01-Jan-16​

01-Jan-17​
B2: =-LOOKUP(-EDATE(A2, 12), -DATE(YEAR(A2) + {2,1,1}, {1,7,1}, 1))

3​

02-Jan-16​

01-Jul-17​

4​

01-Jul-16​

01-Jul-17​

5​

02-Jul-16​

01-Jan-18​

6​

31-Dec-16​

01-Jan-18​

<tbody>
</tbody>

shg,

Would you mind explaining how this works?

I understand the DATE/YEAR breakout and how the array constants affect that part of the calculation. But I'm not understanding why you have put negation signs throughout the formula and why you chose to put dates from latest to earliest?
 
Upvote 0

Forum statistics

Threads
1,214,524
Messages
6,120,049
Members
448,940
Latest member
mdusw

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