Sheets formulas for operations data
Listen to this lesson
Nigerian voice narration
Fictional training case. The weekly operations meeting wants numbers: total deliveries, successful deliveries, failed deliveries, total charges collected, and each rider's delivery count. The register has 400 rows and the meeting is at 2pm. The same conditional functions you met in Excel — SUM, COUNTIF, SUMIF, IF — answer all of it in minutes.

The core counts
Total deliveries: =COUNTA(A2:A401) on DeliveryID. Successful: =COUNTIF(H:H,"Delivered"). Failed: =COUNTIF(H:H,"Failed"). Success rate: successful divided by total, formatted as a percentage. These four cells are the top line of every weekly report.

Try it yourself — step by step
- In F1 type Location and list each location once below it (or use =UNIQUE(C2:C)).
- In G2 type =COUNTIF(C:C,F2) to count deliveries.
- In H2 type =SUMIF(C:C,F2,I:I) to total charges.
- Drag both formulas down for every location.
Money with SUMIF and SUMIFS
Revenue from completed deliveries: =SUMIF(H:H,"Delivered",I:I) on the Charge column. Add conditions with SUMIFS: =SUMIFS(I:I,H:H,"Delivered",C:C,"Lagos") gives delivered revenue for Lagos only.
IF for status flags
Late flag: =IF(AND(G2<>"",G2>F2),"Late","On time") compares ActualDate with ExpectedDate when a delivery date exists. Fill down and every row carries its own verdict — ready for counting with COUNTIF.

Build the prompt from three phrases — Role, Task and Format — and watch the AI answer.
IFERROR and good hygiene
Wrap divisions in IFERROR so empty weeks show a dash instead of #DIV/0!. Build all summary formulas on a separate Analysis tab that references the raw register — never calculate inside the data, where a careless sort can scatter your work.
Common mistakes to avoid
The classic mistake is dividing by a blank or zero and shipping #DIV/0! in the weekly report — wrap divisions in IFERROR. Another is building summary formulas inside the data rows, where they get sorted away or overwritten; keep analysis on its own tab. A third is counting statuses that were typed freely, so 'Delivered' and 'delivered' split your count — this is why the Status dropdown from Lesson 1 matters so much.
Your practice
On an Analysis tab in your deliveries workbook, build the four core counts plus success rate, delivered revenue, and a late/on-time flag column on the register. Verify one count by filtering — the habit never gets old. Then change one status in the register and confirm the Analysis tab updates by itself; that live link is what makes the weekly report a ten-minute job.
You are a Google Sheets expert. My register has Status in column H and Charge in column I. Give me formulas for: total deliveries, delivered count, success rate, and revenue from delivered parcels, each with a one-line explanation.
Answer all three questions and check your answers to unlock the next lesson. Pass mark: 2 of 3.
Success rate is calculated as…
=SUMIFS(I:I,H:H,"Delivered",C:C,"Lagos") gives…
An empty ActualDate cell in a lateness formula should be handled by…
