Sample Sales Data

Order-level sales rows with region, product, channel, units and unit price. Calculate revenue, build PivotTables and compare with complete reference answers.

Start the 8-task practice package — files and complete answers

What is in the file

8 columns, 200 data rows by default, plus a header row. These are the first ten rows of the default file.

Order IDOrder DateRegionChannelProductCategoryUnitsUnit Price
ORD-10002026-06-06SouthDirectUSB-C DockHardware31983.15
ORD-10012026-03-23CentralPartnerLaptop StandAccessories231279.53
ORD-10022026-01-06SouthRetailWebcam HDFurniture8143.9
ORD-10032026-10-23CentralOnlineStanding DeskPeripherals39440.28
ORD-10042026-04-04NorthDirectErgonomic ChairHardware37736.65
ORD-10052026-01-19EastPartnerMechanical KeyboardAccessories291033.02
ORD-10062026-11-04NorthRetailUSB-C DockFurniture141329.4
ORD-10072026-08-21WestOnlineLaptop StandPeripherals6193.77
ORD-10082026-10-10WestDirectMonitor 27"Hardware17490.14
ORD-10092026-07-26SouthPartnerNoise-Cancel HeadsetAccessories9786.52

Download 200 rows

8 columns · header included · no signup

Direct files work without JavaScript. Choose another size below.

Get the matching tasks and answer files
Choose another size
Rows

Built in your browser when you click. Nothing is uploaded, no signup, free for commercial use.

About this dataset

The source is a flat, eight-column order table. Units and Unit Price are provided; Revenue is a derived column you create as part of the exercise. The package includes the full reference table, formulas and expected region/category and monthly summaries. Product, category and price are generated independently, so do not treat a product name as a unique price key.

The Excel download stores date columns as numeric Excel dates with a date format. CSV and JSON contain ISO date text; convert those fields to dates during import before using date arithmetic or grouping by month.

File layout and import notes

  • The download occupies A:H when opened in a new worksheet with its header in row 1. G contains Units and H contains Unit Price; add Revenue in I without replacing a source column.
  • Products, categories and prices are generated independently. These rows support formula practice, not real product pricing or business conclusions.

Free practice package · 200 source rows

Tasks, complete answers and a file to keep

Start with eight source columns, calculate Revenue, then build region/category and monthly PivotTables. The solution workbook contains formulas and expected tables; it does not pretend those tables are native PivotTable objects.

Version 2026-10-08.1. These answers match the default 200-row source file, not the other sizes in the download control.

1. Start with the source file

Keep an unchanged copy. Work through the tasks before opening the answers.

Tasks only (.md) — no answers

2. Compare with complete answers

The workbook contains the original data, every reference row and expected checks. The CSV contains the full reference table.

All files download directly without signup or JavaScript. Markdown (.md) handouts are plain-text files you can open in a text editor. The answer sheets contain fixed reference values; formula sheets, where included, recalculate in your spreadsheet application.

The printable HTML files open in a browser. Choose Print or Save as PDF. The tasks sheet has writing space and no hidden answers; the worked-answer sheet includes formulas and expected tables.

Before you start

  • Answers match the default 200-row file only. Revenue is not a source column: calculate Units × Unit Price and round each order to two decimals.
  • Amounts are synthetic currency-neutral practice values. Product, category and price are generated independently; a product name is not a reliable price-lookup key.
  • The default XLSX stores Order Date as numeric dates. CSV/JSON imports need explicit date conversion before grouping by month.
  • The answer workbook includes formula results and expected summaries, not prebuilt interactive PivotTables. Create the PivotTables yourself using the steps below.

8 tasks to work through

  1. Inspect the source table

    Check that the source has eight columns and one record per order. Identify the two inputs needed for Revenue.

    Show answer and method for task 1

    200 records. G is Units and H is Unit Price. No source Revenue column exists yet.

  2. Calculate revenue

    Add Revenue in I and fill a per-order formula down.

    Show answer and method for task 2
    =ROUND(G2*H2,2)

    First order revenue: 30477.65. Sum I2:I201 to obtain 3051575.50.

  3. Create a region/category PivotTable

    Summarize revenue by region and category.

    Show answer and method for task 3

    Select A1:I201. Choose Insert > PivotTable > New Worksheet. Put Region in Rows, Category in Columns and Revenue in Values. In Value Field Settings choose Sum, not Count. Compare every cell with Region by category answers.

  4. Cross-check one pivot cell

    Independently reproduce the first region/category value with SUMIFS.

    Show answer and method for task 4
    =SUMIFS($I$2:$I$201,$C$2:$C$201,"Central",$F$2:$F$201,"Accessories")

    Central / Accessories: 198347.70. SUMIFS and the corresponding PivotTable cell should agree.

  5. Prepare a month key

    Add Month in J from the real Order Date.

    Show answer and method for task 5
    =TEXT(B2,"yyyy-mm")

    Fill down and use Month as a row field. Alternatively group numeric Order Date values by Years and Months in a PivotTable. Date-format tokens can differ in localized Excel.

  6. Build monthly revenue totals

    Create a second PivotTable with Month in Rows and Revenue in Values, summarized by Sum.

    Show answer and method for task 6

    There are 12 months present. The Monthly revenue answers sheet provides every expected total. Monthly totals must add to 3051575.50.

  7. Calculate revenue per unit

    Calculate the aggregate revenue per unit, not the unweighted average of order prices.

    Show answer and method for task 7
    =SUM(I2:I201)/SUM(G2:G201)

    685.44 displayed to two decimals. Total units: 4452. This ratio weights prices by units.

  8. Refresh and reconcile

    Change a Units value in your working copy, refresh your PivotTables and check both totals.

    Show answer and method for task 8

    The original answer file is a fixed reference for the unchanged source. After edits, both PivotTables must agree with your new Revenue total, not the old reference. Clear filters before comparing grand totals.

Show expected checks and summary tables

Check your work

Expected values for the unchanged 200-row source file
CheckExpected
Order records200
Units4452
Revenue3051575.50
First order revenue30477.65
Regions5
Categories4
Months present12

Region by category answers

Expected values for the unchanged 200-row source file
RegionAccessoriesFurnitureHardwarePeripheralsTotal
Central198347.70148982.36191063.50218626.31757019.87
East212811.04162634.42161857.66121496.36658799.48
North184619.95123095.94199994.80105790.72613501.41
South112183.27122266.30115801.91116163.84466415.32
West176404.0569496.90147618.89162319.58555839.42

Monthly revenue answers

Expected values for the unchanged 200-row source file
MonthRevenue
2026-01302835.65
2026-02290809.62
2026-03439673.18
2026-04223069.98
2026-05230850.94
2026-06190651.27
2026-07226570.23
2026-0889637.54
2026-09169823.29
2026-10276874.55
2026-11294711.71
2026-12316067.54
Preview the first three reference rows
The download contains all 200 reference rows, not just this preview.
Order IDOrder DateRegionChannelProductCategoryUnitsUnit PriceRevenueMonth
ORD-10002026-06-06SouthDirectUSB-C DockHardware31983.1530477.652026-06
ORD-10012026-03-23CentralPartnerLaptop StandAccessories231279.5329429.192026-03
ORD-10022026-01-06SouthRetailWebcam HDFurniture8143.91151.22026-01

Use this in a lesson or tutorial

Share the source file and tasks-only handout first, then release the answers. Use the checks to discuss different approaches; matching one total does not prove every row is correct.

Free for practice, teaching, demos and commercial use. Attribution is welcome, not required. These are generated records, not real customer or student data. Link to this page so learners can get matching files.

Download starts and successful formula copies may be counted without sending your spreadsheet contents or a visitor identifier. The site respects Do Not Track and Global Privacy Control for these counts. Downloads are not proof of task completion.

Calculate revenue, then check the regional totals

Open the default 200-row download with headers in row 1. The file has eight source columns and no Revenue column. Add Revenue in I1, enter =G2*H2 in I2 and fill down to I201. Display revenue with two decimal places; keep A:H unchanged.

I2: calculate revenue for the first order

=G2*H2

Outside A:I: total the calculated revenue

=SUM(I2:I201)

Outside A:I: total North revenue

=SUMIF(C2:C201,"North",I2:I201)
First three default orders: compare column I
Excel rowOrder IDG: UnitsH: Unit PriceI: Calculated Revenue
2ORD-100031983.1530477.65
3ORD-1001231279.5329429.19
4ORD-10028143.901151.20

If columns are cut off, scroll the table sideways.

Expected revenue for the default 200-row file
RegionRevenue, displayed to 2 decimals
North613501.41
South466415.32
East658799.48
West555839.42
Central757019.87
Grand total3051575.50

If columns are cut off, scroll the table sideways.

  • Revenue is a reader-calculated helper, not a column supplied in the download. Multiplying Unit Price alone, or summing Unit Price, does not calculate order revenue.
  • For a PivotTable check, use A1:I201 as the source, Region as a row field and Revenue as a summed value. Confirm it says Sum rather than Count; text values can produce a count instead.
  • If your PivotTable was created before column I, include Revenue in its source and refresh before comparing these totals.
  • These checks apply only to the default 200-row file. With another row count, extend the formula ranges and recalculate the expected results.
  • Products, categories and prices are generated independently. The amounts have no assigned currency and do not represent real sales or realistic product margins.
  • The formulas use English function names, comma separators and dot decimals. Convert CSV/JSON numeric text on import; localized Excel may require semicolons or translated function names.

Documentation reviewed .

Microsoft: Create a simple formulaMicrosoft: SUMIFMicrosoft: Create a PivotTable

What you can practise with it

  • Calculate Revenue from Units and Unit Price
  • Build a PivotTable of revenue by region and category
  • Cross-check pivot cells with SUMIFS
  • Summarize monthly revenue and reconcile grand totals

Try a related exercise

Worked examples for this data

Tools that work on this data

Use this on your own site

Free to use, share and republish — including commercially. Attribution isn't required, but it's what keeps these free to make, and there's one ready to paste below.

Cite it

Questions

Is this sample sales data free to use?

Yes — for practice, teaching, demos and commercial work alike. The rows are generated, so there is no personal data in the file. Attribution is not required; if you would like to credit it, there is a ready-made line at the bottom of this page.

Do I have to sign up or give an email address?

No. Direct links download the default-size files without JavaScript. The row-count control builds other supported sizes in your browser. Your spreadsheet contents are not uploaded and no account is involved.

Which formats can I download?

The original dataset is available as Excel (.xlsx), CSV and JSON. All three contain the same source rows, so you can use the CSV for an import exercise and the .xlsx for a formula exercise.

Can I choose how many rows I get?

Yes. The browser control offers 25, 100, 200, 500 data rows, plus a header. Direct source links contain 200 data rows; the preview shows the first ten of those rows.

Does this file include tasks and complete answers?

Yes. The practice package has 8 tasks, a separate tasks-only handout, a full walkthrough and a workbook with every reference row and expected checks. Answers apply only to the default 200-row source file. The workbook is a reference and formula solution, not a native Excel execution certificate or a prebuilt interactive PivotTable.