Cellgrids Cellgrids
Home › Practice questions › SUM › Question 12

Excel SUM Practice Question: Category sales are in B2:B6. Show each category's share of total sales as a…

By Rinkesh Shah, founder of Cellgrids.

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

ABCD
1CategorySalesShare
2Laptops48200?
3Phones61500?
4Tablets22300?
5Watches14800?
6Audio18900?

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

All practice questions · Excel exercises · Interview prep · Cheat sheet