need help with - time values...

R

rvnwdr

Can anyone help me with this problem?

I am making a table that will calculate hrs worked. Column B has the
hr started. Column C has the end time. Note - the start time can be
in the evening and the end time can be in the am of the next day -
giving me a negetive number.

I would need the easiest way to find the time difference between the
two. This would be my column D. I would then need to add these two
columns up to figure the total number hrs worked...

Thanks! :)
 
M

mangesh_yadav

Use:
=IF(C1>B1,C1-B1,1-(B1-C1))
and use the time format h:mm to display

For totalling, use:
=SUM(D1:D10)
assuming 10 rows of data, and format as dd:hh:mm because more than 24
hours will display the residual part in the format hh:mm. Example 27:00
will display 03:00. So changing to dd:hh:mm will display 1:03:00
correctly. If you want the display to show 27, then use:
=SUM(D1:D10)*24
and format as general

Mangesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Calculate time worked 1
adding in time formats 1
Subtracting minutes in an +IF formula 13
Sort list of names 1
Time punch & hours calculations 1
Need help with a formula 2
cumulative total 1
adding time in columns 2

Top