ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   HLookup and how it works (https://www.excelbanter.com/excel-worksheet-functions/93379-hlookup-how-works.html)

Marjolyn Noble

HLookup and how it works
 
I am currently designing a timesheet template so that it will automatically
dissect total hours worked into Ordindary Hours (max 7.6hr per day, Time&Half
next 3 hrs, and the balance will be Double time). I'm not sure which would be
the best function to assist. I have used the=IF function but there are
flaws. Can anyone suggest which function woulb be more appropraite? Thanks

Biff

HLookup and how it works
 
Hi!

A2 = hours worked for the day

B2 = Ordindary Hours:

=MIN(ISNUMBER(A2)*A2,7.6)

C2 = Time&Half:

=MIN(3,A2-B2)

D2 = Double time:

=A2-B2-C2

Biff

"Marjolyn Noble" <Marjolyn wrote in message
...
I am currently designing a timesheet template so that it will automatically
dissect total hours worked into Ordindary Hours (max 7.6hr per day,
Time&Half
next 3 hrs, and the balance will be Double time). I'm not sure which would
be
the best function to assist. I have used the=IF function but there are
flaws. Can anyone suggest which function woulb be more appropraite?
Thanks





All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com