Turn a ratio like 1:4 into a 20% share

1 part to 4 others is 1 out of 5, so 20%, not 25%.

What you'll make

In Excel: 1:4 ratio becomes 20% share, not 25%.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1VALUE(TEXTBEFORE(A8,":"))Reads the number before the colon, called n.1
2VALUE(TEXTAFTER(A8,":"))Reads the number after the colon, called r.4
3IF(n+r=0, … ,Flags a ratio that adds up to 0.Not used for row 8
4n/(n+r)Divides the part by the part plus the rest.1 / 5 = 0.2
5LET( … )Names both numbers, then gives the share.0.2, shown as 20%

The second number is everything else, not the total, so the total is the two added.

=LET(n,VALUE(TEXTBEFORE(A8,":")),r,VALUE(TEXTAFTER(A8,":")),IF(n+r=0,"Review zero ratio total",n/(n+r)))

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 list. Paste ratios like 3:7 into the green column of the Template tab. The shares 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 second number is the rest, not the total. If it's the total, 1:4 means 25%.

Microsoft's help: TEXTBEFORE function