cellcraftEnter the quest map →
← Browse the curriculum
WORKPLACE BOSS CHALLENGES · ORIGINAL EXERCISE

The merchant’s audit

Calculate total gross margin for all orders: (total revenue − total cost) / total revenue. Round the decimal to four places.

This quest practices Merchant audit using a fictional business dataset. Read the sheet below, then enter the interactive quest to write and check your formula.

OrderRegionProductUnitsRevenueCost
O-101NorthKeyboard12720420
O-102SouthMouse18450198
O-103NorthMonitor51250900
O-104WestKeyboard8480280
O-105SouthMonitor41000720
O-106NorthMouse20500220
O-107WestMonitor615001080
O-108NorthKeyboard10600350
Play this quest · +150 XP →

Hints to get you started

  1. Use totals so orders are weighted correctly.
  2. Gross margin is gross profit divided by revenue.
  3. Round the full expression to 4 decimals.
Show the worked solution
=ROUND((SUM(E2:E9)-SUM(F2:F9))/SUM(E2:E9),4)

The margin of the combined business uses totals. Averaging per-order margins would give small and large orders equal weight.

Make the skill stick

After solving the task, explain what each reference does and why the formula answers the business question. Try the workbook download inside the quest to practice in your own spreadsheet app.

Explore the rest of this region →