Hi all,
I researched through numerous posts and threads regarding calculating time but just couldn't figure out one last part. I hope it's an easy one for some experts here.
I am trying to calculate the average of a range of time and display it in hh:mm:ss format. By reading through the posts here, I was able to figure out that I need to convert the data into numbers first, average it, and then convert that number back to hh:mm:ss format. I got that working.
However, the outcome is not always displayed as a two-digit hour, two-digit minute, or two-digit second. I need to have it show 0 in front if it's a single-digit number but I am stumped!
My average formula is as follows: [Column36]26 is the average number. I am trying to convert that to hh:mm:ss
=(INT([Column36]26 / 3600) + ":") + (INT(([Column36]26 - INT([Column36]26 / 3600)) / 60) + ":") + ROUND(([Column36]26 - (INT([Column36]26 / 3600) * 3600) - (INT(([Column36]26 - (INT([Column36]26 / 3600) * 3600)) / 60) * 60)), 0)
Depending on the answer, some will show 0:17:11 or 0:5:22 or 0:1:7.
Please help!