Add columns to data source (sheet within workbook)

bkuhlmann

New Member
Joined
Jul 26, 2018
Messages
1
Hi Everyone,

Here's a scenario:

I have a spreadsheet of data which I select then click "Insert Pivot Table" and check off the box "Add to Data Model". The result is that I have a new sheet with a pivot table, and a sheet with the source data.

I need to add new columns to the source data, so I add them on the right, then go to the pivot table and click "Change Data Source" then select the full table including the new columns. Unfortunately, this creates an entirely new data source in the data model, rather than just editing the original data source.

I've also tried to modify the data source other other ways to no avail. Can anyone tell me how to add columns to a data source that is a sheet within the excel workbook?

Thanks!

Ben
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi,
If your source data is a table, Ctrl+T, you would just need to refresh your pivot table and voila, columns are available to add to pivot table.
Otherwise, perhaps change your range in Formaulas - Name Manager.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,262
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top