Date, Time calculation

guptamols

New Member
Joined
May 22, 2017
Messages
9
Hi, I am calculating the hours, min (calling it opportunity) by multiplying available slots of 2 hrs and no of slots as 20. This means 20 hrs available time.

Now, i have sum of time spent (start date + time & End date + time) by 4 people.

I have to calculate gap : [available time] minus [sum of time spent].

when i convert available time 2 x 20 into time format ([h]:mm:ss) it gives me 960:00:00 or if i do =TIME(40,0,0) and convert into [h]:mm:ss, it gives 16:00:00
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
o The time function does not work with values greater than one day: TIME(40,0,0)=TIME(16,0,0). The extra days are discarded.
o The “[h]:mm:ss” format will correctly display multiple days as hours.
 
Upvote 0
Thanks Worf, I understand your point however i am calculating the opportunity in hours through calculation and then want it to display approriately. I want a solution for this particular situation.
 
Upvote 0
Excel dates and times are just numbers and can be displayed in a variety of formats,not affecting the value itself.
What is the exact format you want after the calculations are done?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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