How to create a pivot table in Excel from a sales spreadsheet

Pivot tables let you summarize large amounts of data without writing formulas. This guide walks you through building one from a sample sales spreadsheet, so you can group and total figures by category. It suits beginners who can already open a spreadsheet and select a range of cells.

YouTube video: How to Easily Build Excel Pivot Tables from Scratch!

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

Video length
12 min 46 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Open your spreadsheet and check that every column has a clear header, such as Region, Product or Sales. Pivot tables read these headers as field names.

  2. Click any cell inside your data range. Excel will detect the whole table automatically.

  3. Go to the Insert tab on the ribbon and click PivotTable in the Tables group.

  4. In the dialog, confirm the table or range and choose New Worksheet, then click OK.

  5. In the PivotTable Fields pane, drag a field such as Region into the Rows area.

  6. Drag a number field such as Sales into the Values area to total it.

  7. Optionally drag a field such as Product into the Columns area to split the totals across columns.

  8. Check the result, then rename the sheet tab and save the workbook.

Tips and common mistakes

Remove blank rows and merged cells from your data first, or the pivot table may group items wrongly.

If a field lands in the wrong area, drag it back to the field list and start again.

Refresh the pivot table after editing the source data by right-clicking it and choosing Refresh.

Questions

Do I need to select the whole table before inserting a pivot table?

No. Clicking a single cell inside the data is enough, because Excel detects the surrounding table. You can also select the range manually in the dialog.

Where does the pivot table appear?

By default it goes on a new worksheet, so your original data stays untouched. You can pick Existing Worksheet in the dialog if you prefer.

Can I change what the pivot table shows later?

Yes. Drag fields in and out of the Rows, Columns and Values areas at any time, and the table updates instantly.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all