decimal time convertor


I want to create a simple form or calculator that will sit in an exsisting spredsheet that will allow user to enter a time that will display the decimal time so they can update a value in the same sheet
Hope that makes sense
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nurul Furqon Rohmat SyahMaintenance PlannerCommented:
What do you need exactly please send an example file


Walker85Author Commented:
Think you I will dig  one out as soon as I can
David Johnson, CD, MVPOwnerCommented:
by decimal time do you mean 8:15 = 8.25 or do you want the internal time value that is stored in a datetime field?
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Walker85Author Commented:
Yes. So 25 50 75 etc
Robberbaron (robr)Commented:
I suspect you want the 'form' to be floating , so it can be used anywhere on the sheet ?

would a split screen work ?  that way you can use a simple formula formatted as number ?

Open in new window

Walker85Author Commented:
Hi sorry about delay in replying I have been away this looks like the answer it will be used to monitor lateness so for example if some was 36 mins late it would convert to decimal
Martin LissOlder than dirtCommented:
If a person was supposed to be somewhere at 8AM and they arrive at 8:15, what should the answer be?
Walker85Author Commented:
The card would be updated with Late 0.25,

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
Assuming that the expected time (like 8:00) is in A1 and the arrival time (like 8:15) is in B1 then this will give the decimal difference.

The MOD portion of the formula allows the calculation to work if the expected time and the arrival time cross midnight.

Note that the column where the formula resides needs to be formatted as a number with 2 (or however many you want) decimal places.
Martin LissOlder than dirtCommented:
If you want to take into account that someone could be early then use this


which will show the difference with a negative sign.
You can simplify the calculation thusly:

Open in new window

Walker85Author Commented:
I have not selected my comment
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.