0% found this document useful (0 votes)
38 views

Resolved Question Retirement

The user is trying to calculate a retirement date that is always the last day of the month, regardless of the date of birth. Their original formula returned the correct year and month but not the correct day. The responder provides a formula that adds 1 to the birth month and uses "0" as the day, which Excel interprets as the last day of the previous month, solving the issue.

Uploaded by

Aquib Khan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Resolved Question Retirement

The user is trying to calculate a retirement date that is always the last day of the month, regardless of the date of birth. Their original formula returned the correct year and month but not the correct day. The responder provides a formula that adds 1 to the birth month and uses "0" as the day, which Excel interprets as the last day of the previous month, solving the issue.

Uploaded by

Aquib Khan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Resolved Question

Show me another

How to calculate exact retirement date depeding upon the month?


To calculate retirement date I have used the following function: =Date(Year(A1)+58,Month(A1),Day(A1) Assuming that A1 contains Date of Birth. This function returns retirement year and month correctly but not the day. Rule is that retirement date is always the last day of the month not the same day of Date of Birth. It means if the month is January it show 31 and if the month is February it shows 28 or 29 depending on leap year and if the month is April it shows 30. Please help me to solve this issue. 1 year ago Report Abuse

garbo744...

Best Answer - Chosen by Asker


This formula will provide the result you seek: =DATE(YEAR(A1)+58,MONTH(A1)+1,0) It basically is calling for the '0' day of the month after 'Month(A1)', which Excel believes is the last day of the previous month (or the month returned by 'Month(A1)' in this case) 1 year ago Report Abuse Asker's Rating: Asker's Comment: It works perfectly. Many thanks to you.

You might also like