Ravindra BagaleCourses & study guides मराठी Track your progress

22. KPI in All Industries

Excel

22.12 Logistics

Dispatch interviews ask on-time delivery, damage, and cost per shipment. Kilometres driven, and shipment count, do not tell you the lane that failed. Depots here are fictional.

KPI What the number means Who uses it Action it drives
On-time % Shipments delivered on time divided by shipments. Lane owner A lane under the promise gets a different cutoff or a different carrier in the practice file.
Damage % Damaged shipments divided by shipments. Warehouse and dispatch Damage is a packing or handling problem. Do not hide it inside "delivered".
Cost per shipment Cost divided by shipments. Dispatch manager A cheap lane that is late is not cheap. Read it beside on-time.

About this data: The KPIs in this Logistics lesson are worked out from a fictional transport company with six lanes between Pune, Nashik, Kolhapur, Nagpur, Solapur and Sambhaji Nagar. The figures are made up for this lesson and do not come from any real company or person.

Fictional sample rows. One week. Type these rows into a new sheet from cell A1, press Ctrl + T, and name the table tblLanes (Table Design › Table Name).

Lane Shipments On time Damaged Cost
Pune → Nashik 40 36 1 ₹20,000
Pune → Kolhapur 20 10 2 ₹16,000
Nashik → Nagpur 30 27 0 ₹18,000
Nashik → Pune 25 22 1 ₹12,500
Kolhapur → Solapur 16 12 2 ₹9,600
Nagpur → Sambhaji Nagar 24 18 3 ₹14,400

About this data: The tblLanes table has one row per lane and the columns Lane, Shipments, On time, Damaged and Cost. The figures are made up for this lesson and do not come from any real company or person.

Excel formulas for the whole file (type them in empty cells below or beside the table):

KPI Excel formula Result Number format
On-time % =SUM(tblLanes[On time])/SUM(tblLanes[Shipments]) 80.6% 0.0%
Damage % =SUM(tblLanes[Damaged])/SUM(tblLanes[Shipments]) 5.8% 0.0%
Cost per shipment =SUM(tblLanes[Cost])/SUM(tblLanes[Shipments]) ₹584 ₹#,##0

About this data: Each formula above reads whole columns of the tblLanes table. The money column (Cost) is in rupees, so format it with ₹ and keep the other columns as plain numbers. The figures are made up for this lesson and do not come from any real company or person.

Calculated columns (one result per row). Click the first empty column of the table, type the header, then the formula. The Table fills every row by itself.

New column Formula in the first row
On-time % =[@[On time]]/[@Shipments]
Damage % =[@Damaged]/[@Shipments]
Cost per shipment =[@Cost]/[@Shipments]

About this data: The calculated columns use the same six fictional rows of the tblLanes table, so you can change any number and watch each row's result update. The figures are made up for this lesson and do not come from any real company or person.

Expected result per row:

Lane On-time % Damage % Cost per shipment
Pune → Nashik 90.0% 2.5% ₹500
Pune → Kolhapur 50.0% 10.0% ₹800
Nashik → Nagpur 90.0% 0.0% ₹600
Nashik → Pune 88.0% 4.0% ₹500
Kolhapur → Solapur 75.0% 12.5% ₹600
Nagpur → Sambhaji Nagar 75.0% 12.5% ₹600

About this data: These results are worked out from the six fictional lanes in the tblLanes table above. They do not describe any real company or person.

Always calculate the file-level KPI as a ratio of totals (SUM ÷ SUM). Do not take the AVERAGE of the per-row percentages; a small row would count as much as a big one.

Good KPI Vanity metric
From the same rows Pune → Kolhapur on time 50.0% Pune → Nashik 40 shipments
Why Half the Kolhapur lane was late, at ₹800 each. The Nashik lane has the most trips and looks like the "main work". It is actually the healthier cheap-enough lane (36 ÷ 40 = 90.0% on time).

About this data: The good KPI and the vanity metric both come from the same fictional rows of the tblLanes table, so the comparison is fair. The figures are made up for this lesson and do not come from any real company or person.

What the manager does. The Pune dispatch manager opens the 10 late Kolhapur shipments (cutoff time, or a truck that left after the dock closed) before adding a second truck on the Nashik lane. The Nashik manager keeps the Nagpur lane as the pattern and checks the one damaged box on Nashik → Pune, not the shipment count. Nagpur → Sambhaji Nagar damage is 3 ÷ 24 = 12.5%. That is a packing conversation, not a volume conversation.

Practice workbook and guide: Logistics dashboard workbook (Excel) · How to build the Logistics dashboard in Excel. The workbook data is also fictional.

Ravindra Bagale's Tip

A box that arrived early but broken is not a success. Keep Damaged as its own column and its own KPI next to on-time %.

Practice tasks (6)

Use the tblLanes table from this lesson (6 fictional rows). Open a hint only if you are stuck, and check your result against the answer.

1. Write one formula that works out Cost per shipment for the whole tblLanes table, and give it the number format ₹#,##0.

Hint: Read whole columns of the Table by name, such as tblLanes[On time], so new rows are included.

Answer: =SUM(tblLanes[Cost])/SUM(tblLanes[Shipments]) gives ₹584.

2. Work out Damage % for every lane except Pune → Nashik.

Hint: Use SUMIFS with the condition tblLanes[Lane] not equal to "Pune → Nashik", written as "<>Pune → Nashik".

Answer: =SUMIFS(tblLanes[Damaged],tblLanes[Lane],"<>Pune → Nashik")/SUMIFS(tblLanes[Shipments],tblLanes[Lane],"<>Pune → Nashik") gives 7.0%.

3. Add a calculated column Cost per shipment to the Table. Which lane has the highest Cost per shipment?

Hint: Type the header in the first empty column, then the formula using [@column] references. The Table fills every row.

Answer: Pune → Kolhapur, with ₹800.

4. Which lane has the lowest Damage %?

Hint: Add Damage % as a calculated column, then sort that column from smallest to largest.

Answer: Nashik → Nagpur, with 0.0%.

5. What if Cost for Nashik → Nagpur changes from ₹18,000 to ₹21,600? Work out the new whole-table Cost per shipment.

Hint: Type the new value in the Table. Formulas that read whole columns update by themselves.

Answer: Cost per shipment changes from ₹584 to ₹607.

6. How many lanes have Cost per shipment above the whole-table Cost per shipment?

Hint: Compare each row of the Cost per shipment column with the whole-table result, ₹584.

Answer: 4: Pune → Kolhapur, Nashik → Nagpur, Kolhapur → Solapur, Nagpur → Sambhaji Nagar.

Loading practice tasks...

  1. Total Shipments (Easy): Add up the "Shipments" column to get one total for all six lanes.
  2. Average Cost (Easy): Work out the average of the "Cost" column (in rupees) across the six lanes. Round the answer to 2 decimal places.
  3. Lanes with more than 18 On time (Easy): Count how many lanes have more than 18 in the "On time" column.
  4. Largest On time (Easy): Find the largest value in the "On time" column.
  5. Shipments where On time is more than 18 (Medium): Add up the "Shipments" column only for the lanes that have more than 18 in the "On time" column.
  6. On-time % for all lanes (Medium): Work out the On-time % for all six lanes. It is the total of "On time" divided by the total of "Shipments". Round the answer to 3 decimal places, so 0.125 means 12.5%.
  7. Lane with the highest Cost (Medium): Find the "Lane" that has the highest value in the "Cost" column.
  8. Smallest Cost (Medium): Find the smallest value in the "Cost" column.
  9. On-time % for Pune → Nashik (Medium): Work out the On-time % for Lane "Pune → Nashik", using only the values in that one row. Round the answer to 3 decimal places, so 0.125 means 12.5%.
  10. Damage % for all lanes (Hard): Work out the Damage % for all six lanes. It is the total of "Damaged" divided by the total of "Shipments". Round the answer to 3 decimal places, so 0.125 means 12.5%.
  11. Cost per shipment for all lanes (Hard): Work out the Cost per shipment for all six lanes. It is the total of "Cost" divided by the total of "Shipments". Round the answer to 2 decimal places.
  12. Above or below average (Hard): Show "Above" if the "On time" value for Lane "Pune → Nashik" is more than the average of the "On time" column, and show "Below" if it is not.