Write a part of a total as a percent

Turn 1 out of 4 into 25.0%, and flag a total of 0.

What you'll make

In Excel: 1 and 4 becomes 25.0%; 2 and 0 becomes Review zero total.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1B8=0Checks if the total is 0.No
2"Review zero total"What the cell says when it is 0.Not used for row 8
3TEXT(A8/B8, … )Divides count by total, written with one decimal."25.0%"
4IF( … )Uses part 2 for a 0 total, otherwise part 3."25.0%"

A total of 0 has no percent, so the row asks for a look instead of showing a false 0.0%.

=IF(B8=0,"Review zero total",TEXT(A8/B8,"0.0%"))

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 numbers. Paste counts into column A and totals into column B of the Template tab. The percents 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 each count is part of its total. A count above its total, like 5 of 4, gives 125.0%.

Microsoft's help: TEXT function