SOLVED

Consolidation Table from Different Excel Tabs with Different Format

%3CLINGO-SUB%20id%3D%22lingo-sub-2782407%22%20slang%3D%22en-US%22%3EConsolidation%20Table%20from%20Different%20Excel%20Tabs%20with%20Different%20Format%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2782407%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all!%3C%2FP%3E%3CP%3EI%20have%205%20(source)%20tabs%20with%20tables%20with%20data%20but%20in%20different%20formats.%20They%20all%20have%20common%20data%20but%20column%20headers%20are%20named%20differently.%20I%20want%20to%20have%20a%20separate%20tab%20(consolidation)%20that%20consolidates%20all%20but%20certain%20columns%20only%3A%20WBS%20code%2C%20WBS%20description%2C%20source%20type%2C%20location%2C%20source%20description%2C%20quantity%2C%20total%20price.%20I%20want%20the%20consolidation%20table%20to%20be%20updated%20instantly%20with%20every%20single%20update%20that%20happens%20to%20each%20of%20the%205%20tables.%3C%2FP%3E%3CP%3EMy%20preference%20is%20to%20have%20it%20formula%20driven%20as%20i%20want%20to%20have%20readily%20available%20in%20a%20tab%20without%20running%20macros.%20But%20if%20there%20is%20no%20other%20options%2C%20then%20VBA%20is%20the%20way.%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%2C%3CBR%20%2F%3EA.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2782407%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ENotifications%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2782925%22%20slang%3D%22en-US%22%3ERe%3A%20Consolidation%20Table%20from%20Different%20Excel%20Tabs%20with%20Different%20Format%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2782925%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1165762%22%20target%3D%22_blank%22%3E%40alisher_n%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHello!%20You've%20posted%20your%20question%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Ftech-community-discussion%2Fbd-p%2FCommunityQuestions%22%20target%3D%22_blank%22%3ETech%20Community%20Discussion%20space%3C%2FA%3E%2C%20which%20is%20intended%20for%20discussion%20around%20the%20Tech%20Community%20website%20itself%2C%20not%20product%20questions.%20I'm%20moving%20your%20question%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexcel%2Fbd-p%2FExcelGeneral%22%20target%3D%22_self%22%3EMicrosoft%20Excel%20space%3C%2FA%3E%20-%20please%20post%20Excel%20questions%20here%20in%20the%20future.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2783199%22%20slang%3D%22en-US%22%3ERe%3A%20Consolidation%20Table%20from%20Different%20Excel%20Tabs%20with%20Different%20Format%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2783199%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3EThanks%20for%20the%20response.%20The%20tabs%20are%20stand%20alone%20tabs%20with%20different%20source%20of%20input%20and%20therefore%20cannot%20be%20used%20as%20one%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20link%20to%20the%20onedrive%20folder%2C%20filename%20is%20Sample.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20sample%20I%20am%20using%204%20source%20tables.%20Consolidation%20table%20(consolidation%20tab)%20must%20be%20instantly%20updated%20every%20time%20there%20is%20a%20change%20in%20any%20of%20the%20source%20tables.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2F1drv.ms%2Fu%2Fs!Aqv4zBSFNKaymTqUazTSHXO-2KcH%3Fe%3DSPJv7z%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F1drv.ms%2Fu%2Fs!Aqv4zBSFNKaymTqUazTSHXO-2KcH%3Fe%3DSPJv7z%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPowerquery%20cannot%20be%20used%20as%20it%20is%20not%20allowed%20by%20the%20organization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAlisher%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2783814%22%20slang%3D%22en-US%22%3ERe%3A%20Consolidation%20Table%20from%20Different%20Excel%20Tabs%20with%20Different%20Format%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2783814%22%20slang%3D%22en-US%22%3EInteresting%20that%20you%20say%20Power%20Query%20is%20not%20allowed.%20I%E2%80%99m%20not%20aware%20of%20any%20way%20it%20can%20be%20blocked%20as%20it%E2%80%99s%20built%20in%20to%20Excel.%20Unless%20you%20have%20Excel%202010%20or%20earlier%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20is%20the%20simplest%20solution%20otherwise%20you%20need%20VBA%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi all!

I have 5 (source) tabs with tables with data but in different formats. They all have common data but column headers are named differently. I want to have a separate tab (consolidation) that consolidates all but certain columns only: WBS code, WBS description, source type, location, source description, quantity, total price. I want the consolidation table to be updated instantly with every single update that happens to each of the 5 tables.

My preference is to have it formula driven as i want to have readily available in a tab without running macros. But if there is no other options, then VBA is the way.

Thank you in advance,
A.

8 Replies

@alisher_n 

Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Microsoft Excel space - please post Excel questions here in the future. 

best response confirmed by alisher_n (Occasional Contributor)
Solution
Almost certainly this is possible.
One solution may be to use Power Query to add the tables to the data model, link the appropriate columns and then create an output table.
Another option is to use Dynamic Array formulas to combine all the information
A third and possible best option is to create a master table with all the data and then have those other 5 tables actually pulled out from the master table based on some criteria (either with pivot table or DA formulas).
It is hard to know more of the details without a sample file.

@mtarlerThanks for the response. The tabs are stand alone tabs with different source of input and therefore cannot be used as one table.

 

Here is the link to the onedrive folder, filename is Sample.

 

In the sample I am using 4 source tables. Consolidation table (consolidation tab) must be instantly updated every time there is a change in any of the source tables.

 

https://1drv.ms/u/s!Aqv4zBSFNKaymTqUazTSHXO-2KcH?e=SPJv7z

 

Powerquery cannot be used as it is not allowed by the organization.

 

Thanks,

Alisher

Thank you, Eric. Will do.
Interesting that you say Power Query is not allowed. I’m not aware of any way it can be blocked as it’s built in to Excel. Unless you have Excel 2010 or earlier ?

It is the simplest solution otherwise you need VBA

@Wyn Hopkins  that is a good point, I don't know how they would block it.  but it is possible using formulas.  this isn't the prettiest or most efficient but seems to work.

 

Hah! That's some crazy fancy formula writing @mtarler  , nice use of LET and Dynamic Array functionality.  Also with the benefit it will work in Excel online.

Hopefully @alisher_n and any other user of the file has the Dynamic Array version of Excel with LET

Personally I'd recommend the Power Query Approach if at all possible from a simplicity and robustness viewpoint.  You could then add a a simple Macro that triggers a refresh when consolidation page is selected.

 

 

@Wyn Hopkins  and @mtarler  you are right, power query is the way here. Our client is very sensitive for their proposal formats. It is not blocked, but rather not allowed by our regulations.

 

I will find out from the corporate if we can use power query.

 

I will mark your answers as Answer to my question.

 

Thanks,

A.