Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

calculating salary

Hi


I started a new job job and I want to do a spreadsheet that will calculate my salary but there are a few "rules"

my hourly salary is 23.12.


the hours between 10pm to 6am are considered the "night shift", if i work at least 2 hours of the night shift my entire shift is considered night shift and i get 200% on the entire shift

example: if i start at 4am and finish at 11am or start at 4pm and finish at 12am because i did at least 2 hours on the night shift the entire shift is at 200%.


during the day the 9th and 10th hour of my shift are 125% and the 11th and 12th are 150%.


how do i do this?

thanks a lot!



p.s.

on every shift i do i also get paid for 30 min before the shift and 15 min after.

i want this calculating done on a different cell


Thanks...

MacBook Pro, OS X Mountain Lion (10.8.3)

Posted on May 8, 2013 1:01 PM

Reply
4 replies

May 8, 2013 2:07 PM in response to giltober

I am assuming that your shift is never broken up? i.e. 4 hours in the morning and 6 at evening non continuous? (btw, this would not be a salary, this is hourly. Salary you get the same pay no matter hours)


Does the 1/2 hour prior and 1/4 after get the multpliers? I would assume not, not work done. Does that equate into the 9,10,11 and 12 hour calculations?


my possible logic (in seudocode)... if right we can convert to very simple frmulas


IF (End time>=midnight) or (starttime<=4am) then

basepay=2*hours*rate

else

Base Pay= 8 * rate '(assume minimum 8 hour shift)

if Hours >8 and Hours <=9 then basepay=basepay + (1.25*rate*(hours-8))

if hours >9 then basepay=basepay + (rate*1.25*2) + (hours-9)*rate*1.5

end if

basepay=basepay+(.75*rate) 'Add prior and post hours


Jason

calculating salary

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.