Timesheet Calculations

Meucci98

New Member
Joined
Jan 12, 2015
Messages
18
Good day, I am looking for help on some formulas for 3 different columns that would automatically calculate Straight time worked (ST), Overtime worked (OT) and Double time worked (DT) based on input in column A

Below is the example where A (hrs worked per day) is manual input and the other three columns would have the automatic calculations based on column A

Any help would be greatly appreciated.


HRS WORKED PER DAYSTOTDT
88
981
1082
11821
12822
13823
14824
15825
16826
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thanks for the quick reply, the formulas is D6 and E6 work great, however the formula in C6 always returns 8 even when no data is in B6.

Is there a way to have C6 show zero untill data is input into B6?
 
Upvote 0
Much appreciated sir, works awesome.
I am also wondering if it is possible to have it where:

If cell A6 was a drop down with options for Dayshift (DS) and Nightshift(NS)

If NS then the hours would populate like so:

DAYSHIFT
DS/NSHRSSTOTDT
DS12822
NS12426

Or is that too complicated
 
Upvote 0
MrExcelPlayground16.xlsx
ABCDE
5DS/NSHrsSTOTDT
6DS000
7NS000
8DS6600
9NS6420
10DS7700
11NS7421
12DS8800
13NS8422
14DS9810
15NS9423
16DS10820
17NS10424
18DS11821
19NS11425
20DS12822
21NS12426
22DS13823
23NS13427
24DS14824
25NS14428
Sheet23
Cell Formulas
RangeFormula
C6:C25C6=IF(B6<>"",IF(A6="DS",MIN(B6,8),MIN(B6,4)),0)
D6:D25D6=IF(A4="DS",MIN(2,MAX(B6-8,0)),MIN(2,MAX(B6-4,0)))
E6:E25E6=IF(A6="DS",MAX(0,B6-10),MAX(0,B6-6))
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top