Want to insert a pivot table in Excel Online? It works a lot like the desktop version of Excel. Here is how to do it, step by step.
Before you get started with pivot tables in Excel Online
- Your data should be in a tabular format. Ideally, use an Excel table (select the data and choose Format as Table on the HOME tab). Tables are a great source for pivot tables, because rows you add later are included automatically when you refresh.
- Keep the data types in each column the same. For example, don’t mix dates and text in one column. You also get the best results when your data has no blank rows or columns.
Select the data you want to analyse
Just stand on the data. You don’t even have to select it all. If you do select a region, Excel respects your selection.

Insert a pivot table in Excel Online
Go to the INSERT tab and press PivotTable.

The Create PivotTable dialog opens. Unless you selected a region, Excel picks the whole table or range for you.

At this point, you can just click OK. Excel adds the new pivot table to a new worksheet, just like the desktop app. You can also choose another location. Press Existing Worksheet, then click where you want it.

Inserted it. Now what?
Once you insert a pivot table, you will see something like this:

It looks enigmatic, but it means you are ready to analyse. The yellow outline is where your new pivot table will appear. The green outline is where you define how it looks. To do that, drag PivotTable Fields into the four areas. If you want to remove a field, drag it out and drop it.

Pitfalls and limitations of pivot tables in Excel Online
Excel Online does not support some of the less common features of the desktop app, as shown below.

All other limits are the same as in the desktop app. For example, you cannot add a pivot table too close to an existing table.

If you try, you will get this error message:

Another common pitfall is trying to use data that is not suitable for pivoting. You will get an error if your data falls into any of these cases:
- Your data points to an empty range, so there is nothing to pivot.

- Your data has a column without a header, so a pivot table cannot relate to it.

- Your data points to a single row, so there is nothing to pivot.

Need a hand with pivot tables in Excel Online? Chat to the friendly NETCONFIG team, or read Microsoft’s Excel support pages.