Reputation: 95
I'm using an Access query and dumping the data into Excel. Each row contains a value showing how much time as certain task should take, but it simply gives me the number of minutes (e.g. 123
).
Is it possible to either:
hh:mm
; or Every time I convert it with the built-in Excel options, it gives me a time-of-day instead of duration.
Upvotes: 1
Views: 562
Reputation: 16015
Since Access does not support the [H]:MM
formatting code to show elapsed time, if you wanted to format the result in Access, you would need to use something like:
[Minutes]\60 & ":" & Format([Minutes] Mod 60,"00")
Where [Minutes]
is the name of your integer-valued field containing the number of minutes elapsed.
Upvotes: 0
Reputation: 75850
Try:
Formula in B1
:
=TEXT(A1/1440,"[H]:MM")
Another option would be to just calculate the devide and custom format B1
with [H]:MM
If I misunderstood and you interested in the time of day you can use:
=TIME(0,A1,0)
Upvotes: 1