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, 11:01 AM   #1 (permalink)
Right Off the Assembly Line
 
vava's Avatar
 
Join Date: Jun 2006
Posts: 8
Thumbs down looking for a formula in MS EXCEL


To prepare an employee list/payroll, I am putting the date of birth of a person/employee in one cell. I want MS Excel to give me the date 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, 02:52 PM   #2 (permalink)
In The Zone
 
sms_solver's Avatar
 
Join Date: Jan 2004
Location: somewhere
Posts: 420
Default Re: looking for a formula in MS EXCEL

A B C D E F
Sno Name DOB Month Day Retirement
---------------------------------------------------------------------
1 Ganen 20/03/1981 3 31 31/3/2036
2 Amit 04/05/1983 5 31 31/5/2038
3 Rajesh 05/05/1984 5 31 31/5/2039
4 Umesh 04/08/1974 8 31 31/8/2029
5 Suresh 03/03/1988 3 31 31/3/2043

This is my small solution, it might help you

Formulas to write at:
D2: =MONTH(C2)
E2: =IF(OR(D2=1,D2=3,D2=5,D2=7,D2=8,D2=10,D2=12),31,30 )
F2: =CONCATENATE(E2,"/",MONTH(C2),"/",(YEAR(C2)+55))

Some problem:
1) Month of February is ignored
2) The value at Column F2 is as text and can not be used as Date, but it can be copied and paste to other location.

This solution might help you.
__________________
[ॐ एसएमएस॰सोल्भर ॐ]
sms_solver is offline  
Old 19-06-2006, 03:37 PM   #3 (permalink)
The Researcher
 
Join Date: Mar 2006
Location: Mumbai
Posts: 1,122
Default Re: looking for a formula in MS EXCEL

download a copy of Peter Noneley's dictionary of excel functions. This book contain almost all functions with examples and usage
Ramakrishnan 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