I have a measure that produces results in minutes. I need to convert the results to hours and minutes. If I simply divide by 60 I get the hours but the minutes are in a decimal fraction rather than a portion of 60.
I searched but couldn’t find anything on this forum. In excel forums I found a couple of methods but they did not convert to BO. Does anyone have a formula that works in BO?
Depending on the Universe I work in I use different versions of BO, so would prefer something that works in earlier versions if possible.
eg =INT([Visit Time]/60)+":" +Mod([Visit Time];60) would work, but the version of BO that I am using does not have INT available. If I remove that part of the formula I get a result like 7.82:49 for 469 minutes. 469 translates to 7.82 if divided by 60 and 7:49 if converted to hours and minutes. I want a result that returns 7:49.
I tried the formula
=Floor([Visit Time]/60)+":" +Mod([Visit Time];60)
and it works fine with the exception that 7 minutes comes out as 0:7 and 1 hour and 7 minutes comes out as 1:7. Do you know if there is a method to get the formula to return 2 decimal places eg 0:07 or 1:07?
With 7 it is fairly obvious but if the minutes we 5 instead of 7, I can see where some users exporting to Excel might end up with 0.50 or 1.50 instead of 0.05 & 1.05.
capri
I noticed it’s rather warm in Toronto today (my home town) while I am feeling the cold in Australia with no central heating. Hope you enjoy the warm weather.