How to Create a PivotTable from Another Worksheet in Excel for the Web
Question details
The user wants to generate a PivotTable in Excel for the web using a data range that is located on a different worksheet.

- Product
- Excel for the Web
- Device & OS
- not provided
- Scenario
- Analyzing data online and attempting to reference source data on a separate tab to build a new PivotTable summary.
- Observed behavior
- Excel for the web restricts creating PivotTables directly from data ranges on another worksheet. It currently only permits generating a PivotTable from a data range in the current active sheet or a connected Power BI data source.
Ensure your source data has clear column headers and no completely blank rows or columns, as these are required for creating an accurate PivotTable.
Copy the Source Data to the Current Worksheet
Since Excel for the web limits cross-worksheet references for new PivotTables, you can temporarily duplicate the source data into your active sheet.
Excel for the web has a functional limitation preventing the direct creation of a PivotTable using a data range from another worksheet. The easiest workaround is to copy the target data into the worksheet where you intend to build the PivotTable.
Navigate to the worksheet containing your source data. Highlight the entire data range, including all column headers, and press Ctrl+C (or Cmd+C on Mac) to copy it.
Go to the worksheet where you want to place your PivotTable. Select an empty area with enough space, click a starting cell, and press Ctrl+V to paste the copied data.
Highlight the newly pasted data range. Navigate to the 'Insert' tab on the top ribbon, click on 'PivotTable', and follow the prompts to generate your table.

Easily Create Cross-Worksheet PivotTables with WPS Office
Bypass the limitations of Excel for the web by using WPS Office. As a powerful, free desktop alternative, WPS Office allows you to create PivotTables from any worksheet instantly without needing to duplicate data.
- 1. Open your workbook in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet containing the data.
- 2. Initiate the PivotTable tool: Navigate to the 'Insert' tab and click on 'PivotTable'. Choose where you want the PivotTable to be placed.
- 3. Select the external data range: In the 'Select a table or range' field, click the selection icon, navigate to the other worksheet, and highlight your source data directly.

Frequently Asked Questions
Can I create a cross-worksheet PivotTable on the desktop and view it on the web?
Yes. If you create a PivotTable that references another worksheet using the desktop version of Excel (or a compatible desktop program like WPS Office), the PivotTable will display and function normally when you open the file in Excel for the web.
Does Excel for the web support external workbook connections for PivotTables?
Currently, Excel for the web only supports external data connections for PivotTables if the data is hosted as a Power BI dataset. Standard external links to other workbooks or worksheets are restricted during creation.
Why is the PivotTable option greyed out in my Excel web view?
The PivotTable option may be disabled if you have multiple worksheets grouped or selected at the same time, if you are working in a restricted editing mode, or if the selected data lacks valid column headers.




