Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Looking for a formula

Hi,

I maintain an Excel employee database at work and I need a function that
will determine when a new employee hired this year reaches the new year and
then adds 40 at that date.

There are already formulas that I wrote in place that determine how many
days Joe Bloe has been employed if that helps. Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 158
Default Looking for a formula

You want to know the year only that is 40 years from a new employee's
"anniversary date" where anniversary date is defined as the next Jan 1 after
date of hire? I doubt I am grasping your need, but that's right doesn't this
do it:

=YEAR(A1)+41

Where A1 is the hire date (note this might not work for anyone hired on Jan
1, so if that's possible you'd have to trap for it with an IF statement).
You want to format the formula cell as "General", not as Date.

Like I said, maybe I am not grasping.

"msxlvr" wrote:

Hi,

I maintain an Excel employee database at work and I need a function that
will determine when a new employee hired this year reaches the new year and
then adds 40 at that date.

There are already formulas that I wrote in place that determine how many
days Joe Bloe has been employed if that helps. Thanks!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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



All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"