Excel practice › Sample data › Sales orders (500 rows)
Pivot table practice data: a sales file with 500 orders, free to download
A sales table built for practice: 500 orders placed during 2025 with an invented office-supplies seller. Eleven columns, one row per order, no blank rows and no merged cells, so it drops straight into a pivot table. A second sheet lists the 12 products with their unit cost, for lookups.
The workbook also has 14 questions and an answer sheet. The same questions are below, with the answers folded away.
What's in the file
| Column | Type | Values |
|---|---|---|
| Order ID | Text | SO-1001 to SO-1500, in date order |
| Order Date | Date | January 1 to December 31, 2025 |
| Region | Text | West, East, Central, South |
| Rep | Text | 8 sales reps, 2 per region |
| Customer Type | Text | Retail, Wholesale, Online |
| Product | Text | 12 products |
| Category | Text | Furniture, Office Supplies, Technology |
| Units | Number | Whole numbers |
| Unit Price | Number | List price of the product |
| Discount | Number | 0%, 5%, 10% or 15% |
| Revenue | Number | Units × Unit Price × (1 − Discount), to the cent |
The first rows of the Orders sheet
| Order ID | Order Date | Region | Rep | Customer Type | Product | Category | Units | Unit Price | Discount | Revenue |
|---|---|---|---|---|---|---|---|---|---|---|
| SO-1001 | 1/2/2025 | South | Jordan | Retail | Keyboard | Technology | 6 | 49.99 | 0% | 299.94 |
| SO-1002 | 1/4/2025 | West | Avery | Retail | Copy Paper (case) | Office Supplies | 11 | 42.00 | 10% | 415.80 |
| SO-1003 | 1/4/2025 | East | Casey | Retail | Wireless Mouse | Technology | 13 | 24.99 | 0% | 324.87 |
| SO-1004 | 1/5/2025 | West | Avery | Retail | Copy Paper (case) | Office Supplies | 12 | 42.00 | 5% | 478.80 |
| SO-1005 | 1/5/2025 | West | Avery | Online | Binders (pack) | Office Supplies | 33 | 18.75 | 0% | 618.75 |
| SO-1006 | 1/6/2025 | Central | Finley | Retail | Desk Chair | Furniture | 3 | 189.00 | 0% | 567.00 |
| SO-1007 | 1/6/2025 | Central | Finley | Online | Desk Chair | Furniture | 6 | 189.00 | 0% | 1,134.00 |
| SO-1008 | 1/10/2025 | East | Casey | Online | Wireless Mouse | Technology | 16 | 24.99 | 0% | 399.84 |
14 things to do with it, with answers
Try each one in the file first, then open the answer. Every number below was computed from the rows in the file.
1. What is the total revenue of all 500 orders?
$389,687.12
=SUM(Orders!K2:K501)
2. How many orders came from the West region?
139
=COUNTIF(Orders!C2:C501,"West")
3. What is the revenue of the West region?
$124,876.36
=SUMIF(Orders!C2:C501,"West",Orders!K2:K501)
4. What is the Technology revenue in the East region?
$30,014.93
=SUMIFS(Orders!K2:K501,Orders!C2:C501,"East",Orders!G2:G501,"Technology")
5. What is the average revenue of a Wholesale order?
$1,091.72
=AVERAGEIF(Orders!E2:E501,"Wholesale",Orders!K2:K501)
6. Which order has the largest revenue, and how much is it?
SO-1465, $4,490.00
=INDEX(Orders!A2:A501,MATCH(MAX(Orders!K2:K501),Orders!K2:K501,0))
=MAX(Orders!K2:K501) gives the amount; INDEX and MATCH find the order it belongs to.
7. What was the revenue in March 2025?
$38,140.22
=SUMIFS(Orders!K2:K501,Orders!B2:B501,">="&DATE(2025,3,1),Orders!B2:B501,"<"&DATE(2025,4,1))
Two conditions on the same date column: on or after March 1, and before April 1.
8. How many orders had a discount of 10% or more?
120
=COUNTIF(Orders!J2:J501,">=0.1")
9. How many Desk Chairs were sold (units, not orders)?
342
=SUMIF(Orders!F2:F501,"Desk Chair",Orders!H2:H501)
10. The Products sheet has each product's unit cost. Bring it into Orders with a lookup. What do all the orders cost in total, and what is the profit (revenue minus cost)?
Cost $260,657.60, profit $129,029.52
On the Orders sheet: =VLOOKUP(F2,Products!$A$2:$D$13,4,FALSE)
Put that formula in L2 and fill it down: it gives $28.60 for the first order. Then =H2*L2 in M2 is the cost of each order, and the total is the sum of column M. =XLOOKUP(F2,Products!$A$2:$A$13,Products!$D$2:$D$13) does the same lookup.
11. Pivot table: revenue by region and category.
Rows: Region. Columns: Category. Values: Sum of Revenue.
| Region | Furniture | Office Supplies | Technology | Total |
|---|---|---|---|---|
| West | $46,211.00 | $50,192.94 | $28,472.42 | $124,876.36 |
| East | $39,246.90 | $42,371.92 | $30,014.93 | $111,633.75 |
| Central | $30,668.45 | $21,448.05 | $25,205.61 | $77,322.11 |
| South | $14,871.05 | $32,727.94 | $28,255.91 | $75,854.90 |
| Total | $130,997.40 | $146,740.85 | $111,948.87 | $389,687.12 |
12. Pivot table: revenue by month. Which month was the best?
December, $62,820.98
Rows: Order Date, grouped by month. Values: Sum of Revenue.
| Month | Revenue |
|---|---|
| Jan | $26,323.28 |
| Feb | $27,442.65 |
| Mar | $38,140.22 |
| Apr | $29,491.48 |
| May | $17,703.89 |
| Jun | $26,098.90 |
| Jul | $25,280.84 |
| Aug | $35,626.34 |
| Sep | $29,205.10 |
| Oct | $34,975.19 |
| Nov | $36,578.25 |
| Dec | $62,820.98 |
13. Pivot table: which rep sold the most?
Avery, $64,391.20
Rows: Rep. Values: Sum of Revenue, sorted largest first.
| Rep | Revenue |
|---|---|
| Avery | $64,391.20 |
| Casey | $63,271.34 |
| Blake | $60,485.16 |
| Drew | $48,362.41 |
| Jordan | $43,023.18 |
| Emery | $42,235.21 |
| Finley | $35,086.90 |
| Harper | $32,831.72 |
14. Pivot table: what share of revenue does each customer type bring?
Retail 38.9%, Wholesale 42.9%, Online 18.2%
Rows: Customer Type. Values: Sum of Revenue, shown as % of Grand Total.
| Customer Type | Revenue | Share |
|---|---|---|
| Retail | $151,621.01 | 38.9% |
| Wholesale | $167,033.68 | 42.9% |
| Online | $71,032.43 | 18.2% |
Practice the same skills in the browser
These pages have short exercises on small tables, checked as you type:
- Pivot tables: 9 exercises in the browser (Pro)
- SUMIFS, with live examples
- VLOOKUP, with live examples
- XLOOKUP
- INDEX and MATCH
- Excel test for data analyst interviews
More files: Employee list (200 rows), Messy customer list, to clean, and the practice workbooks with exercises on one function each.