-
All replies
-
Helpful answers
-
May 25, 2010 5:35 PM in response to edguzby jaxjason,Look in the function list under categories , there is a whole category dedicated to converting durations to hours, minutes, seconds, etc... Even to just strip duration from a number.
Jason -
Feb 6, 2014 1:07 PM in response to edguzby bartlettpsj,Use function STRIPDURATION. i.e. =STRIPDURATION(B21)
Paul
-
Feb 9, 2014 2:42 PM in response to edguzby ronniefromcalifornia,I think STRIPDURATION always assumes you want the resulting number in terms of "Days". It is the same as DUR2DAYS. In your example, you have minutes, so maybe you want the resulting number in terms of "Minutes"?
For example:
Cell1: 30 min
Cell2: 2
Cell3: =Cell1xCell2 is 60m
=STRIPDURATION(Cell3) is .041666, which means 60 minutes is .04 of 1 day.
If you are expecting the answer to be 60, then:
=DUR2MINUTES(Cell3) is 60.
If you didn't want to use either of these formulas, you could try formatting Cell3 as minutes with Style set to 0 so there are no units showing. I am not sure if that will cause you trouble further down the road with other calculations since 60 is really still a duration and not a number. With the formulas, the 60 is really a number.
-
Jan 18, 2016 2:57 PM in response to ronniefromcaliforniaby jobish03,thank you .. your answer is helped me