Divide each value by the total and lock the total with dollar signs: =B2/$B$7. Format the column as a percentage. The $ keeps the formula pointing at the total when you copy it down; without it, every row below divides by the wrong cell.
{"cells": {"A1": "Region", "A2": "North", "A3": "South", "A4": "East", "A5": "West", "A6": "Total", "B1": "Sales", "B2": 32600, "B3": 30100, "B4": 19000, "B5": 14300, "B6": "=SUM(B2:B5)", "C1": "Share", "C2": "=B2/$B$6", "C3": "=B3/$B$6", "C4": "=B4/$B$6", "C5": "=B5/$B$6", "C6": "=B6/$B$6"}, "focus": "C2", "formats": {"B2:B6": {"dec": 0, "fmt": "number"}, "C2:C6": {"dec": 1, "fmt": "percent"}}, "note": "Click C3: it still divides by $B$6. The shares always add up to 100%."}
Divide by a locked total
Press F4 after clicking the total to add the dollar signs.
=B2/$B$6The share of the total in B6.=B2/SUM($B$2:$B$5)Without a total row.Share within a group
Divide by the group's total with SUMIF.
=C2/SUMIF($A$2:$A$100, A2, $C$2:$C$100)Each sale's share of its own region's total.Percentage of a target
The same division against a goal instead of a total.
=B2/C2Sales B2 against the target in C2: above 100% means the target was beaten.Common mistakes
- #DIV/0! from the second row
- The total isn't locked, so it moved to an empty cell when copied. Use
$B$6. - Shares don't add up to 100%
- Rounding in the display. The real values do; format with one decimal or round the last one.
Frequently asked questions
What does the $ sign do?
It stops the reference from moving when the formula is copied. Practise it in absolute references.
How do I show 0.25 as 25%?
Format the cell as a percentage (Ctrl+Shift+%). Don't multiply by 100.
How do I calculate the change between two years?
See percentage change.