Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default Salary by Qtr Formula

I'm trying to calculate by quarter how much an employee will cost depending
on when they are hired. I have a column for 4Q09 (Col R4), 1Q10 (Col S4),
2Q10 (Col T4), 3Q10 (Col U4) & 4Q10 (Col V4) and will need a formula for
each. In cell M4 the date is plugged in. In cell Q4 a weekly rate is
already entered in this case $573. Above in cells R1-V1 I have put dates
12/31/09, 3/31/10, 6/30/10, 9/30/10, 12/31/10.

The formula below that I'm using only works if M4 has a date in 2010, I need
it to work for 2009 as well. I'm not sure if this formula can be modified to
do that or if another formula is needed.

=IF($F4="On Board",MAX(0,((S$1-$M4)/7))*Q4,"")

S1 = 3/31/2010
M4 = 10/15/2009
Q4 = Weekly Salary $573

Thank you very much for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Salary by Qtr Formula

The formula below works for 2009 as well. Is the cell in M4 showing as actual
date or text? May want to clear out the format and type in the date...

"KC" wrote:

I'm trying to calculate by quarter how much an employee will cost depending
on when they are hired. I have a column for 4Q09 (Col R4), 1Q10 (Col S4),
2Q10 (Col T4), 3Q10 (Col U4) & 4Q10 (Col V4) and will need a formula for
each. In cell M4 the date is plugged in. In cell Q4 a weekly rate is
already entered in this case $573. Above in cells R1-V1 I have put dates
12/31/09, 3/31/10, 6/30/10, 9/30/10, 12/31/10.

The formula below that I'm using only works if M4 has a date in 2010, I need
it to work for 2009 as well. I'm not sure if this formula can be modified to
do that or if another formula is needed.

=IF($F4="On Board",MAX(0,((S$1-$M4)/7))*Q4,"")

S1 = 3/31/2010
M4 = 10/15/2009
Q4 = Weekly Salary $573

Thank you very much for your help!

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
salary tax calculation f lebasse[_2_] Excel Discussion (Misc queries) 2 August 21st 08 02:59 PM
Salary and Pension Increases tartan tim Excel Discussion (Misc queries) 5 October 9th 07 03:10 PM
Salary DP7 Excel Discussion (Misc queries) 2 February 23rd 07 09:09 PM
Salary programme Suresh Lohar Excel Discussion (Misc queries) 1 April 3rd 06 07:57 PM
help writing formula to determine salary/overtime sockmodel7 Excel Discussion (Misc queries) 2 December 6th 05 04:32 PM


All times are GMT +1. The time now is 05:14 AM.

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

About Us

"It's about Microsoft Excel"