Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
laurentium3
 
Posts: n/a
Default calculate years worked by 3% * salary in excel

If the number of years employed is greater than or equal to 1, then the
contribution is equal to the contribution percentage (3%) * $50,000;
otherwise, the contribution is $0.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary L Brown
 
Posts: n/a
Default calculate years worked by 3% * salary in excel

=IF(INT(YEARFRAC(starting date,current date))=1,50000*0.03,0)

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"laurentium3" wrote:

If the number of years employed is greater than or equal to 1, then the
contribution is equal to the contribution percentage (3%) * $50,000;
otherwise, the contribution is $0.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default calculate years worked by 3% * salary in excel

"laurentium3" wrote:
If the number of years employed is greater than or equal
to 1, then the contribution is equal to the contribution
percentage (3%) * $50,000; otherwise, the contribution is $0.


Do you really mean "3% * salary up to 3% * $50,000"?

That seems more consistent with the subject of your posting.
If that is what you mean, then building upon Gary Brown's reply:

=IF(YEARFRAC(hireDate, criterionDate) < 1, 0, 3%*MIN(salary, 50000))

You can use TODAY() in place of criterionDate. But that usually
does fit the HR requirements.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I calculate chronological age in excel Mike New Excel Discussion (Misc queries) 7 April 25th 23 11:45 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
excel wont calculate john mcmichael Excel Discussion (Misc queries) 1 October 18th 05 05:18 PM
Excel needs hh:mm where hh>24 for hours worked per week pmba Excel Worksheet Functions 2 May 16th 05 09:03 PM
excel calendar years whowatwerwyhow Excel Discussion (Misc queries) 0 May 16th 05 12:19 PM


All times are GMT +1. The time now is 03:35 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"