Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

ms excel courses - calculating time

Forum home » Delegate support and help forum » Microsoft Excel Training and help » ms excel courses - Calculating time

ms excel courses - Calculating time

ResolvedVersion Standard

Adam has attended:
Excel Intermediate course
Excel Advanced course
Access Introduction course

Calculating time

I have a rota programme that calculate the amount of hours automatically. But I have to enter for example; 10.75 in the cell A1 and 15.25 in cell B1 for the progrmmae to calculate that the employee worked for 4.5 hours by simply using the formula B1 - A1. This obviously leads to the employees occasionally coming at the wrong time. How do I get it to calculate the amount of hours using proper time?

RE: Calculating time

1) Time should be formatted as hh:mm
2) Time 10:75 will automatically recalculate to 11:15, which gives you the time difference as 4hr 10mins
3) Cell A1: 11:15 (format in Time)
Cell B1: 15:25 (format in Time)

Cell C1: A1-B1 (format in Time)
Cell D1: =HOUR(C1)+MINUTE(C1)/60 [General format]
OR Cell C1: =HOUR(A1-B1)+MINUTE(A1-B1)/60
[General format]

See if that works

Katie

RE: Calculating time

Hi Katie,

all teh time formats include seconds. The function of this sheet is for a rota to automatically calculate the hours someone has worked.

It would be very laborious to enter or see seconds on the rota, yet their is no time format without seconds as indicated on your answer.

Let me know if you think this can be rectified.

Regards,

Adam

RE: Calculating time

You can customise TIME format.

1) Bring up format cell window;
2) Choose CUSTOM category
3) Type in your preferred format:
hh:mm (h-Hour, m-Minute, s-seconds)

Let me know if you need more help

Katie

Excel tip:

Entering text in Multiple Worksheets

If you have a number of worksheets in a workbook that require the same information (data or tables) on each worksheet, this can be done as follows:

Hold down the Ctrl key and click one or more of the additional worksheet tabs (i.e. Sheet2, Sheet3, etc).

In your mainsheet (Sheet1) enter the required data or design a table.

When done 'Click' on the other sheet tabs and you will see that the information entered in Sheet1 is on all the other selected worksheets.

NB Do not forget to deselect the worksheets - otherwise you may add data to the main worksheet and all the selected worksheets will also have that data!

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.