Read elapsed hours text like 49,5

Turn hours written with a decimal comma, like 49,5, into the duration 49:30.

What you'll make

In Excel: 49,5 hours becomes 49:30 elapsed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The hours, written with a decimal comma."49,5"
2",","."Comma marks decimals; a period groups thousands.",", "."
3NUMBERVALUE( … )Reads the text as a number.49.5
4/24Divides by 24, because Excel counts time in days.49:30

The result column shows hours and minutes, so 49,5 shows as 49:30, not 1:30.

=NUMBERVALUE(A8,",",".")/24

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own hours. Paste hours like 49,5 into the green column of the Template tab. The durations fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Check that your export uses a comma for decimals. If it uses a period, 1.5 reads as 15 hours.

Microsoft's help: NUMBERVALUE function