calculating time formulas

atozcleric

New Member
Joined
Feb 18, 2018
Messages
3
I am working on a spreadsheet and having trouble with the formulas to calculate the times for each of the columns.
I would like to be able to enter the times and have it calculate the rest. I am so frustrated and there has to be an easier way.:confused:

thanks so much.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date [/TD]
[TD]time in[/TD]
[TD]time out[/TD]
[TD]total hours worked [/TD]
[TD]Dayshift 0600-1400[/TD]
[TD]evening shift 1400-2200[/TD]
[TD]Night shift 22-06[/TD]
[TD]Weekend Hours Fri 1800-Mon 0600[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Excel 2013/2016
ABC
1Time InTime Outhours
27:0017:0010
Sheet1
Cell Formulas
RangeFormula
C2=(B2-A2)*24



Maybe something like that??
 
Last edited:
Upvote 0
thanks so much for the help! i am so frustrated with this sheet I am not sure what I am overlooking.
Thats great but I need to calculate from that the dayshift hours and the evening shift and night shift.
I was trying to use countif formula but I can't get it to work.

Angie
 
Upvote 0
thanks so much for the help! i am so frustrated with this sheet I am not sure what I am overlooking.
Thats great but I need to calculate from that the dayshift hours and the evening shift and night shift.
I was trying to use countif formula but I can't get it to work.

Angie

Aren't all the shifts separated into different sets of cells?

A1 = day in
B1 = day out
C1 = evening in
D1 = evening out
E1 = night in
F1 = night out

If so, you could just use the same formula for each set of cells.

Or it could very well be I'm not understanding what you have going on.
 
Last edited:
Upvote 0
Ok, I feel really useless. I am trying to figure these formulas out and watched videos etc.
Here is what I am trying to do.......

[TABLE="width: 1200"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date [/TD]
[TD]NAME [/TD]
[TD]Location [/TD]
[TD]Start Time [/TD]
[TD]End Time [/TD]
[TD]Total Hours Worked [/TD]
[TD]Day 0600-1800[/TD]
[TD]Evening 14-22[/TD]
[TD]Night 22-06[/TD]
[TD]Weekend (Friday 18 to Monday 0600)[/TD]
[TD]PTO[/TD]
[TD]OT (ANYTHING OVER 40 HRS)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/1/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD]11:00 PM[/TD]
[TD]7:00 AM[/TD]
[TD]#REF![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6:00[/TD]
[TD]0:00[/TD]
[TD]#REF![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7:00[/TD]
[TD]15:00[/TD]
[TD]#REF![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]15:00[/TD]
[TD]23:00[/TD]
[TD]#REF![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#REF![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Totals [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Any other ideas??????[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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