Chart that will automaticaly adjust its series based on pivot table.

Martin_H

Board Regular
Joined
Aug 26, 2020
Messages
190
Office Version
  1. 365
Platform
  1. Windows
Morning all,

another day, another problem...

So lets just say that we have:

Workbook_one.xlsx basic daily export out of database with only one sheet. Lots of data, hard to read. Number of rows varies, number of columns stay same.

Workbook_two.xlsm this workbook is used for processing the data from Workbook_one. I am using a pivot table which I am completely fine with. Again, number of rows varies, number of columns stay same.

Workbook_three.xlsm (shared!) this workbook is used for chart presentations. In this workbook, I would like to have a basic column type of chart, with source data linked to the Workbook_two.xlsm.

As I said, number of rows varies so the column type of chart could be one day bigger and on another day smaller. The problem is, I do not know how to create a chart that will automaticaly adjust its series to constantly changing pivot table size in Workbook_two.xlsm. (Again, number of rows in pivot table varies but number of columns stay same).

Any ideas please?


Thank you.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Maybe use a pivot chart directly?
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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