Time

billandrew

Well-known Member
Joined
Mar 9, 2014
Messages
743
Good afternoon all

My question is how would I enter time ( Hours:Min ) and calculate the total.
 
I suppose you can also store values as integer data. if the user enters, 15, 30, 45 or 60 then at the end you just sum up and divide by 60 and that is total time in hours. You take the remainder and multiply by 60 to get the minutes, i.e., 3.3333 hours is 3 hours and (.3333 * 60) = 20 minutes.

This kind of data entry is error prone since someone might enter .5 instead of 30 for half an hour (.5 hours instead of 30 minutes).

Normally, it's best to have user select start time and end time. Just like you do with a time clock.
 
Last edited:
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,221,821
Messages
6,162,157
Members
451,750
Latest member
pnkundalia

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