excel multiple data

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

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

resolvedResolved · Medium Priority · Version 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.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Changing the Tab Colour of an Excel 2010 Worksheet

Did you know you could give the tabs in your worksheet different colours?

This is particularly useful when organizing all your worksheets relating to a particular period or year, for example.

Right click a tab
Select Tab Colour
And choose your favourite colour!

View all Excel hints and tips


Server loaded in 0.07 secs.