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.

500 orders, $389,687.12 of revenue. Free, no sign-up. No macros and no formulas in the file. Dates in the CSV are written year-month-day. Free to use in classes, tutorials and your own projects under CC BY 4.0: credit SheetDrill with a link to this page.

What's in the file

ColumnTypeValues
Order IDTextSO-1001 to SO-1500, in date order
Order DateDateJanuary 1 to December 31, 2025
RegionTextWest, East, Central, South
RepText8 sales reps, 2 per region
Customer TypeTextRetail, Wholesale, Online
ProductText12 products
CategoryTextFurniture, Office Supplies, Technology
UnitsNumberWhole numbers
Unit PriceNumberList price of the product
DiscountNumber0%, 5%, 10% or 15%
RevenueNumberUnits × Unit Price × (1 − Discount), to the cent

The first rows of the Orders sheet

Order IDOrder DateRegionRepCustomer TypeProductCategoryUnitsUnit PriceDiscountRevenue
SO-10011/2/2025SouthJordanRetailKeyboardTechnology649.990%299.94
SO-10021/4/2025WestAveryRetailCopy Paper (case)Office Supplies1142.0010%415.80
SO-10031/4/2025EastCaseyRetailWireless MouseTechnology1324.990%324.87
SO-10041/5/2025WestAveryRetailCopy Paper (case)Office Supplies1242.005%478.80
SO-10051/5/2025WestAveryOnlineBinders (pack)Office Supplies3318.750%618.75
SO-10061/6/2025CentralFinleyRetailDesk ChairFurniture3189.000%567.00
SO-10071/6/2025CentralFinleyOnlineDesk ChairFurniture6189.000%1,134.00
SO-10081/10/2025EastCaseyOnlineWireless MouseTechnology1624.990%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.

RegionFurnitureOffice SuppliesTechnologyTotal
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.

MonthRevenue
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.

RepRevenue
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 TypeRevenueShare
Retail$151,621.0138.9%
Wholesale$167,033.6842.9%
Online$71,032.4318.2%

Practice the same skills in the browser

These pages have short exercises on small tables, checked as you type:

More files: Employee list (200 rows), Messy customer list, to clean, and the practice workbooks with exercises on one function each.

More Excel practice

Excel sample data for practiceExcel practice onlineExcel practice files to downloadExcel skills testExcel formula playgroundExcel functions with live examplesExcel test for job interviews, with answers

Made by Nico, who builds SheetDrill (about). The rows are generated, not collected: no real customer, employee or company is in them. The answers are computed from the file's own rows when the page is built. Last checked November 2026.