Retirement date - formula

Excel 1319 views 8 replies

 

Dear Sir,

 

I want retirement date formula, I am using the below formula.

formula

=DATE(YEAR(A1)+B1,MONTH(A1),DAY(A1))

Actually we need when the result date is 1st, the month of retirement should be last day of before month.

If retirement day is 2nd or more , the date of retirement should be end of the current month.

Example

1:

1-May-71

   58   

     1-May-2029

 

    Requirement is 31-Apr-2029.

 

2: 10-May-71      58     10-May-2029

   

Requirement is 31-May-2029.

 

Replies (8)

for MS Excel 2007 and higher

Try this formula

=EOMONTH(IF(DAY(C1)=1,DATE(YEAR(C1),MONTH(C1)-1,DAY(C1)),DATE(YEAR(C1),MONTH(C1),DAY(C1))),0)

see attached file 

 

Thank u very much sir....

Hi, OG sir,

 

if possible try to do like this,

DOB 01-Mar-1970 means +58 years direct get result  what  we need when the result date is 1st, the month of retirement should be last day of before month. If retirement day is 2nd or more , the date of retirement should be end of the current month. 

Thanks in advance.
 

You mean doing it directly, in this case formula become too long and hard to understand.

One suggestion you can hide column C.

Pls see attached file.

T H A N K     U     V E R Y    M U C H   S I  R

Hi

You can use simply EDATE function:

=EDATE(startDATE , no. of month)

in your case;

=EDATE(1-May-71 , 58*12)

 

Thanks//Vaibhav
Click thank button to convey your appreciation. 
 

Thanks Vibhav,

simple command!! giving me answer. 

CACLUBINDIA is great yar!!!

 

hey rilli glad to help..

Cheerz to CCI'tiez!!

 


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
Featured 14 March 2026
Associate CA

N N V Satish&co

Hyderabad

CA

View Details
Company
Featured 14 April 2026
GST CONSULTANT

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 14 March 2026
Article Trainee

N N V Satish&co

Hyderabad

CA Inter

View Details
Company
Featured 13 April 2026
GST CONSULTANCY

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 28 March 2026
CA Final

Ashok Amol & Associates

New Delhi

CA Final

View Details
Company
Featured 12 March 2026
Customer Relationship Executive

TAXLET

Calicut

B.Com

View Details
Company
Featured 28 March 2026
Accountant

Ashok Amol & Associates

New Delhi

B.Com

View Details
Company
Featured 19 March 2026
Article Assistant

Gupta Sachdeva & Co. Chartered Accountants

New Delhi

CA Final

View Details