how to use a query to import or append other years table to end of first year table?

yabi100

Board Regular
Joined
Aug 10, 2013
Messages
89
Office Version
  1. 2016
Platform
  1. Windows
I have 4 excel files, each file gives sales data in one sheet for a specific year. Year appears only in file name. I want to make a dashboard to show data in different ways. I made a query to edit the data, namely get only needed columns, add a column for year. I did all of this, for the first year. Now I want to know how can I use this query to apply same edits to other files? I assume the query I build, can do this, but I don't know how. I want the tables for next 3 years to appear in the bottom of the first year table. I am using excel 2016
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
If I understand correctly, it sounds like you just can use the "From Folder" function, see below.
I normally use this, if I have all transactions from separate years, in separate files.

1664970183721.png


/Skovgaard
 
Upvote 0

Forum statistics

Threads
1,225,375
Messages
6,184,611
Members
453,247
Latest member
scouterjames

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