22.3 E-commerce
This is a fictional marketplace seller, not the quick-commerce data used in the earlier modules. Interviewers ask conversion and returns. They rarely ask for sessions.
| KPI | What the number means | Who uses it | Action it drives |
|---|---|---|---|
| Conversion | Orders placed divided by sessions. | Seller, category lead | A low rate means the listing, the price, or the photo. Not "buy more traffic". |
| Return % | Returned orders divided by orders placed. | Seller operations | A high rate means size, damage, or a wrong promise. Fix the SKU before the next ad. |
| AOV | Delivered sales divided by delivered orders. | Finance and the seller | Used with returns, not instead of returns. |
About this data: The KPIs in this E-commerce lesson are worked out from a fictional marketplace seller that sells in six cities: 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 month. Delivered sales exclude returns. Type these rows into a new sheet from cell A1, press Ctrl + T, and name the table tblEcom (Table Design › Table Name).
| City | Sessions | Orders placed | Delivered | Returned | Delivered sales |
|---|---|---|---|---|---|
| Pune | 1,000 | 50 | 40 | 10 | ₹20,000 |
| Nashik | 500 | 40 | 36 | 4 | ₹18,000 |
| Kolhapur | 800 | 20 | 16 | 4 | ₹8,000 |
| Nagpur | 400 | 40 | 32 | 8 | ₹16,000 |
| Solapur | 200 | 20 | 18 | 2 | ₹9,000 |
| Sambhaji Nagar | 600 | 10 | 8 | 2 | ₹4,000 |
About this data: The tblEcom table has one row per city and the columns City, Sessions, Orders placed, Delivered, Returned and Delivered sales. 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 |
|---|---|---|---|
| Conversion | =SUM(tblEcom[Orders placed])/SUM(tblEcom[Sessions]) |
5.1% | 0.0% |
| Return % | =SUM(tblEcom[Returned])/SUM(tblEcom[Orders placed]) |
16.7% | 0.0% |
| AOV | =SUM(tblEcom[Delivered sales])/SUM(tblEcom[Delivered]) |
₹500 | ₹#,##0 |
About this data: Each formula above reads whole columns of the tblEcom table. The money column (Delivered sales) 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 |
|---|---|
| Conversion | =[@[Orders placed]]/[@Sessions] |
| Return % | =[@Returned]/[@[Orders placed]] |
| AOV | =[@[Delivered sales]]/[@Delivered] |
About this data: The calculated columns use the same six fictional rows of the tblEcom 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:
| City | Conversion | Return % | AOV |
|---|---|---|---|
| Pune | 5.0% | 20.0% | ₹500 |
| Nashik | 8.0% | 10.0% | ₹500 |
| Kolhapur | 2.5% | 20.0% | ₹500 |
| Nagpur | 10.0% | 20.0% | ₹500 |
| Solapur | 10.0% | 10.0% | ₹500 |
| Sambhaji Nagar | 1.7% | 20.0% | ₹500 |
About this data: These results are worked out from the six fictional cities in the tblEcom table above. They do not describe any real company or person.
One city with SUMIFS. Conversion for Pune only:
=SUMIFS(tblEcom[Orders placed],tblEcom[City],"Pune")/SUMIFS(tblEcom[Sessions],tblEcom[City],"Pune")
Result for Pune: 5.0%. Change "Pune" to a cell reference (for example $K$1) and add a drop-down, and the same formula answers for any city.
| Good KPI | Vanity metric | |
|---|---|---|
| From the same rows | Nashik conversion 8.0% and return 10.0% | Pune 1,000 sessions |
| Why | Nashik turns more of the visit into an order, and fewer come back. | Pune looks biggest on traffic. One in five Pune orders was returned. Traffic did not pay the return. |
About this data: The good KPI and the vanity metric both come from the same fictional rows of the tblEcom 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 seller opens the 10 returned orders (size, damage, or late) before buying another 1,000 sessions. The Nashik seller keeps the listing that converted and does not copy Pune's traffic plan. Kolhapur is the warning: 800 sessions and only 20 orders (2.5%). That is a listing problem, not a city problem.
Ravindra Bagale's Tip
Return % is returned orders divided by orders placed. Sessions are never the denominator. Write the denominator in the column header.
Ravindra Bagale's Tip – मराठी
Return % म्हणजे returned orders भागिले orders placed. Sessions कधीच denominator नसतात. Denominator column header मध्ये लिहा.
Ravindra Bagale's Tip – हिंदी
Return % यानी returned orders भाग orders placed. Sessions कभी denominator नहीं होते. Denominator को column header में लिखें.
Practice tasks (6)
Use the tblEcom 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 AOV for the whole tblEcom table, and give it the number format ₹#,##0.
Hint: Read whole columns of the Table by name, such as tblEcom[Orders placed], so new rows are included.
Answer: =SUM(tblEcom[Delivered sales])/SUM(tblEcom[Delivered]) gives ₹500.
2. Work out Return % for every city except Pune.
Hint: Use SUMIFS with the condition tblEcom[City] not equal to "Pune", written as "<>Pune".
Answer: =SUMIFS(tblEcom[Returned],tblEcom[City],"<>Pune")/SUMIFS(tblEcom[Orders placed],tblEcom[City],"<>Pune") gives 15.4%.
3. Add a calculated column Conversion to the Table. Which city has the highest Conversion?
Hint: Type the header in the first empty column, then the formula using [@column] references. The Table fills every row.
Answer: Nagpur, with 10.0%.
4. Which city has the lowest Conversion?
Hint: Add Conversion as a calculated column, then sort that column from smallest to largest.
Answer: Sambhaji Nagar, with 1.7%.
5. What if Delivered sales for Sambhaji Nagar changes from ₹4,000 to ₹4,800? Work out the new whole-table AOV.
Hint: Type the new value in the Table. Formulas that read whole columns update by themselves.
Answer: AOV changes from ₹500 to ₹505.
6. How many cities have Conversion above the whole-table Conversion?
Hint: Compare each row of the Conversion column with the whole-table result, 5.1%.
Answer: 3: Nashik, Nagpur, Solapur.
Loading practice tasks...
- Total Sessions (Easy): Add up the "Sessions" column to get one total for all six cities.
- Average Delivered sales (Easy): Work out the average of the "Delivered sales" column (in rupees) across the six cities.
- Cities with more than 20 Orders placed (Easy): Count how many cities have more than 20 in the "Orders placed" column.
- Largest Orders placed (Easy): Find the largest value in the "Orders placed" column.
- Sessions where Orders placed is more than 20 (Medium): Add up the "Sessions" column only for the cities that have more than 20 in the "Orders placed" column.
- Conversion for all cities (Medium): Work out the Conversion for all six cities. It is the total of "Orders placed" divided by the total of "Sessions". Round the answer to 3 decimal places, so 0.125 means 12.5%.
- Look up Nagpur (Medium): Find the "Delivered sales" value for Nagpur.
- Smallest Delivered sales (Medium): Find the smallest value in the "Delivered sales" column.
- Conversion for Pune (Medium): Work out the Conversion for Pune, using only the values in that one row. Round the answer to 3 decimal places, so 0.125 means 12.5%.
- Return % for all cities (Hard): Work out the Return % for all six cities. It is the total of "Returned" divided by the total of "Orders placed". Round the answer to 3 decimal places, so 0.125 means 12.5%.
- AOV for all cities (Hard): Work out the AOV for all six cities. It is the total of "Delivered sales" divided by the total of "Delivered".
- Above or below average (Hard): Show "Above" if the "Orders placed" value for Pune is more than the average of the "Orders placed" column, and show "Below" if it is not.