I have a "mixed" formula (containing numbers and text) and I need to convert the numeric values into a time format.

Here is my formula:

=count(J8:J11)*2/24&" / "&sum(K8:K11)

And here is the resulting cell value:

0.333333333333333 / 0.204861111111111

What I want to see is:

8:00 / 4:55

How can I transform these long numbers into a time format as such?


You can use the TEXT function in your formula:

=TEXT(COUNT(J8:J11)*2/24,"H:mm")&" / "&TEXT(SUM(K8:K11), "H:mm")

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.