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

  • Have you tried the given solution? Did it work for you? If not we could try finding out why. If yes, please remember that as per site guidelines when an answer addresses your question, accept it and even upvote it so others can benefit as well. May 25 '21 at 14:53

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.