Hi,
I think I'd prefer to show the result as a decimal.
Please recommend a way forward.....
Thanks a lot!
Hi,
I think I'd prefer to show the result as a decimal.
Please recommend a way forward.....
Thanks a lot!
Formula:
You can dispense with H14 etc... dates in XL are integers and time decimal so you can simply add the two Actual values together (E & F) to form one number and subtract the sum of the Planned date + time to give you a result... multiply by 24 to force into decimal -- 2.5 equates to 2hr 30min.![]()
I14: =24*(SUM(E14:F14)-SUM(B14:C14))
Set format of I14 etc to be Numerical (to 2 decimals).
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thank you, that's precisely what I was after.
It has triggered another question though. I wonder if there's a way of getting Excel to recognise time without having to enter it with a colon (i.e. 1000 instead of 10:00)?
Any ideas anyone?
I strongly advise against entering time values in anything other than time format.
It will cause you many more problems in the long run.
OK, thanks for the advice. I'll take your word for it.
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks