Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel multiple data

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel - Multiple data sources into one table/pivot table

Excel - Multiple data sources into one table/pivot table

ResolvedVersion 2016

Simon has attended:
Excel Intermediate course
Excel Advanced course
Customer Service Excellence course

Excel - Multiple data sources into one table/pivot table

Hi everyone - hoping someone can help out.

I'm looking for a way to to combine data from several different sources, each in a different layout, into one table.

The data in each source relates to the same information (same column headers) and is updated daily, although the number of rows will most likely change each time. Therefore, putting in a VLOOKUP or similar at regular intervals in the 'consolidated' table won't (shouldn't?) work.

A pivot table is then used on the consolidated table.

I'll gladly welcome any ideas on how this can best be achieved with minimal manual input in regards to refreshing the table when the source data is updated.

Thanks in advance,

Simon

Edited on Tue 25 Aug 2020, 10:46

RE: Excel - Multiple data sources into one table/pivot table

Hi Simon, thank you for your query in STL's forum.

Vlookups would not work if the source table ranges that are being consolidated are normal Excel lists. If you change the source tables into Data tables then each table has a name i.e. Table1, Table2.

What you then do in the Vlookup is instead of selecting the entire table with your mouse for the second argument of the Vlookup, you enter the name of the table instead.

So: VlOOKUP(LookupValue, A1:D100,4,False)which is static because the range is defined as a specific area on the sheet would look like this:
VLOOKUP(LookupValue,Table1,4,False) which is dynamic because the Table1 automatically includes new rows of data

Data tables are dynamic and therefor if you add new records they will automatically be included in the table range. So you do NOT have to constantly redefine the Vlookup's source range.

The consolidated table should then automatically adjust and you only need to 'Refresh' your Excel workbook to get the latest data in your PivotTable. There is no need to 'Change Data Source' in the PivotTable every time.

I hope this helps.

PS. The Excel workbook attached to this message has nothing to do with your query. I accidentally attached the file to the wrong query. My apologies

Kind regards,

Ron Oldeboom
Learning and Development Consultant
STL Training

Attached files...

Minutes to hours.xlsx

Tue 1 Sep 2020: Automatically marked as resolved.

Excel tip:

Move data worksheet to worksheet

To move data from one worksheet to another, highlight the data.

Select and hold down the ALT key and position the mouse on the border of the selection until the mouse pointer displays four-headed arrows.

Drag the selection down to the destination worksheet tab.

When the arrow touches the tab, Excel switches to the desired worksheet. Now drag the selection to the correct position. Let go of the mouse and then the ALT key.

To copy data from one worksheet to another, select and hold down the CTRL+ALT keystroke combination and perform the steps above.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.