Excel SUM Practice Question: Category sales are in B2:B6. Show each category's share of total sales as a…
The question
Category sales are in B2:B6. Show each category's share of total sales as a decimal, rounded to 3 decimals, in D2:D6.
The data
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Category | Sales | Share | |
| 2 | Laptops | 48200 | ? | |
| 3 | Phones | 61500 | ? | |
| 4 | Tablets | 22300 | ? | |
| 5 | Watches | 14800 | ? | |
| 6 | Audio | 18900 | ? |
The yellow cells are where your answer goes.
Show answer
Expected results:
- D2 = 0.291
- D3 = 0.371
- D4 = 0.135
- D5 = 0.089
- D6 = 0.114
How it works
Explanation: Divide each value by the total. Lock the total range with dollar signs so it stays the same when you fill down.
Syntax: =ROUND(B2/SUM($B$2:$B$6),3)
Total sales are 165700. Phones are 61500 / 165700 = 0.371.
Try it yourself in the live sheet
Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.
Try this question in the live sheet →SUM syntax
=SUM(number1, [number2], ...)
Adds up all the numbers in a range — the most-used formula in Excel. Totaling four quarters of sales into an annual figure. Full SUM guide.
More SUM practice questions
- Using SUM, find the total units sold and put it in B6.
- Using SUM, find each student's total marks across the three subjects and put them in E2…
- The cashier skipped Wednesday, so that cell is empty. Using SUM, find the week's total…
- Two stores report weekly sales in separate columns. Using one SUM over both columns,…
- Build a running total of the daily sales in column C. Using SUM with a locked start…
- Using SUM, find what share of total sales Delhi has (as a decimal) and put it in C2.
- The bank statement lists deposits as positive and withdrawals as negative. Using SUM,…
- Using SUM, find net sales (total sales minus total returns) and put it in B7.
All practice questions · Excel exercises · Interview prep · Cheat sheet