Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 18-06-2006, 10:44 AM   #1 (permalink)
Right Off the Assembly Line
 
vava's Avatar
 
Join Date: Jun 2006
Posts: 8
Question Ms Excel - Formula


To prepare an employee payroll, I am putting the date of birth of a person/employee in one cell. I want MS Excel to give me the dte of retirement of the employee in the next cell. (The date of retirement is the last date of the month in which he attains 55 years of age. What formula should I use?
vava is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-06-2006, 11:32 AM   #2 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: Ms Excel - Formula

I could have given you the exact solution, but I don't have excel in my machine. It has no pirated softwares I use OpenOffice.org. Secondly I am too lazy to work for you . Self help is the best help

Anyway, why don't you have a look at all the date functions? If you are not too comfortable using a long function/formula, you can break it down in different columns and hide the intermediary columns!

Last edited by tuxfan; 18-06-2006 at 11:35 AM.
tuxfan is offline  
Old 18-06-2006, 10:33 PM   #3 (permalink)
Alpha Geek
 
Join Date: Mar 2005
Location: Doha, Qatar
Posts: 942
Default Re: Ms Excel - Formula

Quote:
Originally Posted by vava
To prepare an employee payroll, I am putting the date of birth of a person/employee in one cell. I want MS Excel to give me the dte of retirement of the employee in the next cell. (The date of retirement is the last date of the month in which he attains 55 years of age. What formula should I use?
Your problem is simply solved using the "=DATE" function in excel.

Let me assume you have input your employee X's birth date in cell A1. I'll assume you have used the format YEAR,MONTH,DATE.

To get the retirement date in any cell, try this formula -

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

I'm amazed at all the cool stuff that can be done with excel. Everyday I keep discovering new excel formulae and tricks from our lovely secretaries who also happen to be excel experts.

Cheers,
Keith

Edit: BTW, formatting of the date does not matter. You can set any format of date for both the cells and they don't even have to be similar.
__________________
[ THIS SPACE HAS BEEN RESERVED FOR FUTURE USE IN CASE I WANT TO BOAST ABOUT MY PC'S, HOUSE, CAR, GIRLFRIENDS OR OTHER STUFF THAT I KNOW YOU DON'T REALLY CARE ABOUT ]

Last edited by Keith Sebastian; 18-06-2006 at 10:40 PM.
Keith Sebastian is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by ico
- by Tenida
- by gohan89
- by clinton

Advertisement




All times are GMT +5.5. The time now is 10:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2