In Excel: divide each value by the total with the total range locked: =B2/SUM($B$2:$B$5), fill it down, then format the column as Percentage.
On this page7
Enter the values in one column (e.g. B2:B5).
In the next column type =B2/SUM($B$2:$B$5).
Fill the formula down to the last row.
Format the result column with Home ▸ Number ▸ Percentage.
Optionally check that =SUM(C2:C5) shows 100%.
What this does
Percent of total is a share: one part divided by the sum of all parts. The part reference (B2) must move as you fill down, while the total range ($B$2:$B$5) must stay fixed, which is why it carries dollar signs. Formatting the result as Percentage multiplies the display by 100 without changing the value, so the shares always add up to 100%. It is not percentage change, which compares a new value with an old one. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “calculate percentage of total sales in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Sales in B2:B5 are 120, 80, 200 and 100, a total of 500. In C2 enter =B2/SUM($B$2:$B$5) and fill down to C5, then apply Percentage format: C2 shows 24%, C3 16%, C4 40% and C5 20%, which together make 100%. Shares of a total make categories comparable regardless of size — which product, region or cost line carries the most weight — and they are the numbers behind every pie or 100% stacked chart. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
The standard worksheet functions used by this example are listed in Google Sheets. Check the cell references, argument separators and input types in the target spreadsheet, then compare the worked result. This formula-availability check does not establish identical menus, keyboard shortcuts or workbook features, and it is not a product execution test. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “calculate percentage of total sales in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Leaving the total range unlocked, so it shifts as you fill down and the shares are wrong.
- Multiplying by 100 and also applying Percentage format, which shows 2400% instead of 24%.
- Using the percentage-change formula (New-Old)/Old, which answers a different question.
- Including the grand-total row inside the
SUMrange, which halves every share.
Frequently asked questions
How do I show percent of total in a PivotTable?
Right-click a value, choose Show Values As ▸ % of Grand Total (or % of Column Total).
Why do my percentages not add up to exactly 100%?
Rounded display. The underlying values still sum to 1; increase decimal places to see it.
Can I use a total that is already in a cell?
Yes — =B2/$B$6 works if B6 holds the total; keep the reference absolute.