Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Excel overtime formula
 
Posts: n/a
Default How do I write a formula in excel that calculates payroll?

I need to write an excel formula that calculates hourly wages up to 30 hours
and then time and a half after 30 hours in one formula.
  #2   Report Post  
Naz
 
Posts: n/a
Default How do I write a formula in excel that calculates payroll?

If say the hourley wage if £15 and hour, and the hours are in cell a1

=IF(A1<=30,15*A1,22.5*A1)

of course you could and should have the hourley rate in a cell

--

_______________________
Naz,
London


"Excel overtime formula" wrote:

I need to write an excel formula that calculates hourly wages up to 30 hours
and then time and a half after 30 hours in one formula.

  #3   Report Post  
Sandy Mann
 
Posts: n/a
Default How do I write a formula in excel that calculates payroll?

"Naz" wrote in message
...
If say the hourley wage if £15 and hour, and the hours are in cell a1

=IF(A1<=30,15*A1,22.5*A1)


That would pay ALL hours at the overtime rate if the employee worked more
than 30 hours

Try:


=MIN(A1,30)*15+MAX(A1-30,0)*22.5

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk

"Naz" wrote in message
...
If say the hourley wage if £15 and hour, and the hours are in cell a1

=IF(A1<=30,15*A1,22.5*A1)

of course you could and should have the hourley rate in a cell

--

_______________________
Naz,
London


"Excel overtime formula" wrote:

I need to write an excel formula that calculates hourly wages up to 30
hours
and then time and a half after 30 hours in one formula.



  #4   Report Post  
Naz
 
Posts: n/a
Default How do I write a formula in excel that calculates payroll?

And the problem with that would be?? ;-)
I apologise for the oversight the formula should of course read

=IF(A1<=30,15*A1,30*15+((A1-30)*22.5))



--

_______________________
Naz,
London


"Sandy Mann" wrote:

"Naz" wrote in message
...
If say the hourley wage if £15 and hour, and the hours are in cell a1

=IF(A1<=30,15*A1,22.5*A1)


That would pay ALL hours at the overtime rate if the employee worked more
than 30 hours

Try:


=MIN(A1,30)*15+MAX(A1-30,0)*22.5

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk

"Naz" wrote in message
...
If say the hourley wage if £15 and hour, and the hours are in cell a1

=IF(A1<=30,15*A1,22.5*A1)

of course you could and should have the hourley rate in a cell

--

_______________________
Naz,
London


"Excel overtime formula" wrote:

I need to write an excel formula that calculates hourly wages up to 30
hours
and then time and a half after 30 hours in one formula.




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
feel that the STANDARD DEVIATION formula on Excel is incorrect !! Ganapati Hegde Excel Worksheet Functions 3 November 18th 05 04:09 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM


All times are GMT +1. The time now is 04:33 AM.

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"