Forum Discussion
combine 2 workseets to create on pivot table
- Apr 14, 2023
To create a pivot table from data on two different worksheets, you’ll first need to combine the data into a single table. One way to do this is to use a third worksheet to consolidate the data from the two original worksheets.
Here’s an example of how you can do this:
- Create a new worksheet and give it a name such as “Combined Data”.
- In the new worksheet, set up column headers that match the headers in your two original worksheets.
- Copy the data from the first worksheet and paste it into the new worksheet below the headers.
- Copy the data from the second worksheet and paste it below the data from the first worksheet.
- Make sure that the data is properly aligned with the column headers.
Once you have combined the data into a single table, you can create a pivot table from it.
Here’s how:
- Select any cell within the combined data table.
- Click on the “Insert” tab in the ribbon and select “Pivot Table”.
- In the “Create PivotTable” dialog box, make sure that “Select a table or range” is selected and that the “Table/Range” field shows the range of cells containing your combined data.
- Choose where you want to place the pivot table (e.g., in a new worksheet) and click “OK”.
- Use the PivotTable Fields pane to arrange your data as desired.
This should allow you to create a pivot table that includes data from both of your original worksheets.
Hope this helps you.
To create a pivot table from data on two different worksheets, you’ll first need to combine the data into a single table. One way to do this is to use a third worksheet to consolidate the data from the two original worksheets.
Here’s an example of how you can do this:
- Create a new worksheet and give it a name such as “Combined Data”.
- In the new worksheet, set up column headers that match the headers in your two original worksheets.
- Copy the data from the first worksheet and paste it into the new worksheet below the headers.
- Copy the data from the second worksheet and paste it below the data from the first worksheet.
- Make sure that the data is properly aligned with the column headers.
Once you have combined the data into a single table, you can create a pivot table from it.
Here’s how:
- Select any cell within the combined data table.
- Click on the “Insert” tab in the ribbon and select “Pivot Table”.
- In the “Create PivotTable” dialog box, make sure that “Select a table or range” is selected and that the “Table/Range” field shows the range of cells containing your combined data.
- Choose where you want to place the pivot table (e.g., in a new worksheet) and click “OK”.
- Use the PivotTable Fields pane to arrange your data as desired.
This should allow you to create a pivot table that includes data from both of your original worksheets.
Hope this helps you.