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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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