Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team
I have data like this
=Timestamp( .048854166666667,' hh:mm:ss')
o/p is 1:10:21
I want to convert this into minutes 60+10+.21 = 70.21 minutes how to achieve the same.
Thanks
Vikas
Hi,
Try with
Interval(.048854166666667,'mm:ss')
Regards,
Use
Round(.048854166666667 * 1440, 0.01)
1440 is the number of minutes in a day.
Thanks Jonathan
Vikas
Hi,
Try with
Interval(.048854166666667,'mm:ss')
Regards,
thanks this is giving me exact o/p 70.21
sorry your o/p is 70.35
Well you were not very clear about that. Note that interval formats the value as 70:21, but does not change the underlying value, which will still be .04885416...
Hi,
As you said
Note that interval formats the value as 70:21, but does not change the underlying value, which will still be .04885416
Kindly can you elaborate?? I am not able to get it.
Regards
Vikas Mahajan wrote:
sorry your o/p is 70.35
Jonathan is calculating a value like 'minutes.fraction of minutes' from your original value, while max dreamer just formats the original value (fractions of day) like 'minutes:seconds'.
What do you want to get? And what do you want to do with this value? Do you want to change the display of the value (i.e. text representation), or do you want to change the numeric value itself?
edit:
Have a look at
Thanks for all reply ...
Vikas