Pivot table from Multiple sheets

mark hansen

Well-known Member
Joined
Mar 6, 2006
Messages
534
Office Version
  1. 2016
Platform
  1. Windows
(Using Excel 2013)
I'm creating dashboard to look at one year, plus the current years data.

We have a system that we are pulling information from that only allows data to be pulled for up to 12 months. So we only get a year's worth of data at one time.

We would like to look at all of 2019 and 2020 year to date. So we will pull all of 2019 one time and place it in a table. Then weekly, we will pull from 1 Jan 2020 to the current date and place in a table. Next week, we again pull 1 Jan 2020 to the current and REPLACE the previous weeks data pull in the 2020 table.

I've been looking a various website and they speak about a data model and how to relate tables using a primary key which makes a one to many relationship. I'm not sure if I want to do that because both tables will have the same columns. The 2020 data pull is just a continuation of the previous year's information.

Should I not use two separate tables and read in the data and append it to the 2019 table? (the 2019 data will have a specific and static numbers of rows, as it won't change as of the end of the year 2019). With code, I could delete the 2020 data before I re-import the 2020 data.

Thanks for any ideas.
Mark

Or should I continue looking regarding how to work with tables that contain different data, but the columns are the same?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,215,045
Messages
6,122,836
Members
449,096
Latest member
Erald

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