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

microsoft excel training day courses near kent - tea timer

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » microsoft excel training day courses near kent - Tea Timer

microsoft excel training day courses near kent - Tea Timer

ResolvedVersion Standard

Camil has attended:
Excel Intermediate course

Tea Timer

I've been trying to work out an accurate way displaying time remaining.

At the moment I tend to use a basic implementation which looks at how long it took to complete the last cycle through a loop, and depending on the size of the precentage, a time is worked out.

This is accurate for that last step but not for the overall loop.

I was wondering if there was a better way to do this?

Thanks

RE: Tea Timer

Dear Camil

I am not sure if you are asking a question relating to VBA or just a simple time calculation.

I would like a bit of more information to understand what is it that you want to achieve.

I am going to give you a general understanding of how Excel calculates time and also some things you have to keep in mind when you are performing such calculations.

When you insert a time for purpouse of calculation Excel converts it into a decimal no. So although for you 00:00:00 might be Midnight with 0 seconds but for Excel it is simply 0.0 and 23:59:59 is .999999.

All the times are between .0 and .999999.

How to Work with Time Formulas
How to Calculate Elapsed Time


Please refer to the Excel file that I have uploaded for the following explanation.

Cell A2 and B2 have time entered in them.
In Cell C2 and D2 the formula is exactly the same i.e. =B2-A2. You can see that C2 is displaying the result in Decimal format which is general Format from the Format > Cells

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Creating Quick Column Charts

Select the information you want to appear in the chart and press F11. This creates a new chart on a seperate worksheet.

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.1 secs.