How to Pull data from Un-arranged columns to Arranged columns

%3CLINGO-SUB%20id%3D%22lingo-sub-1815165%22%20slang%3D%22en-US%22%3EHow%20to%20Pull%20data%20from%20Un-arranged%20columns%20to%20Arranged%20columns%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1815165%22%20slang%3D%22en-US%22%3EHello%20%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20workbook%20%2C%20where%20I%20am%20suppose%20to%20maintain%20the%20whole%20year%E2%80%99s%20data%20which%20has%20multiple%20columns.%20I%20have%20arranged%20all%20such%20columns%20in%20the%20required%20sequels.%20Like%20when%20I%20get%20raw%20data%20%2C%20columns%20are%20Z%20%2C%20P%20%2C%20A%20%2C%20D%20%2C%20Q.%3CBR%20%2F%3E%3CBR%20%2F%3EBased%20on%20my%20need%20for%20the%20first%20month%20%2C%20I%20had%20arranged%20these%20columns%20into%20A%20%2C%20D%20%2C%20Q%20%2C%20P%20%2C%20Z%20and%20freeze%20the%20format.%20Now%20whenever%20I%20will%20get%20a%20raw%20file%20%2C%20it%20will%20be%20always%20in%20un-arranged%20way.%20So%20now%20i%20need%20your%20guidance%2C%20how%20to%20automise%20the%20process%20of%20importing%20data%20from%20un-arranged%20columns%20to%20arranged%20one%20%2C%20without%20using%20copy%20and%20paste%20function.%20Also%20how%20to%20add%20new%20columns%20if%20came.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%20note%20that%20I%20need%20data%20in%20an%20existing%20file.%20To%20extend%20the%20example%2C%20when%20I%20had%20freez%20the%20format%20%2C%20it%20has%20data%20till%20700%20row%20number.%20So%20now%20if%20i%20pull%20the%20data%20from%20un-arranged%20file%20to%20this%20file%20%2C%20then%20new%20data%20should%20start%20with%20row%20number%20701.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20Advance.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1815165%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20BI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1815269%22%20slang%3D%22de-DE%22%3ESubject%3A%20How%20to%20Pull%20data%20from%20Un-arranged%20columns%20to%20Arranged%20columns%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1815269%22%20slang%3D%22de-DE%22%3EWith%20your%20permission%2C%20if%20I%20can%20recommend.%20It%20can%20help%20us%20all%20if%20you%20upload%20an%20Excel%20file%20(without%20sensitive%20data)%2C%20please%20no%20picture.%3CBR%20%2F%3EIn%20some%20cases%2C%20the%20translation%20does%20not%20help%20to%20understand%20the%20problem.%20It%20would%20be%20a%20great%20help%2C%20you%20don't%20have%20to%20readjust%20everything%20to%20see%20where%20the%20problem%20could%20be.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20understanding%20and%20patience%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Nikolino%20%3CBR%20%2F%3E%20I%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1815279%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Pull%20data%20from%20Un-arranged%20columns%20to%20Arranged%20columns%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1815279%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F844595%22%20target%3D%22_blank%22%3E%40Varsit_N_Shah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPower%20Query%20could%20work.%20If%20you%20have%20one%20table%20with%20column%20headers%20as%20A%2C%20B%2C%20C%20(table%20could%20be%20empty%20one%2C%20only%20headers)%20and%20append%20to%20it%20table%20with%20headers%20as%20C%2C%20A%2C%20B%2C%20resulting%20data%20will%20be%20placed%20as%26nbsp%3BA%2C%20B%2C%20C%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
Hello ,

I have a workbook , where I am suppose to maintain the whole year’s data which has multiple columns. I have arranged all such columns in the required sequels. Like when I get raw data , columns are Z , P , A , D , Q.

Based on my need for the first month , I had arranged these columns into A , D , Q , P , Z and freeze the format. Now whenever I will get a raw file , it will be always in un-arranged way. So now i need your guidance, how to automise the process of importing data from un-arranged columns to arranged one , without using copy and paste function. Also how to add new columns if came.

Also note that I need data in an existing file. To extend the example, when I had freez the format , it has data till 700 row number. So now if i pull the data from un-arranged file to this file , then new data should start with row number 701.

Thanks in Advance.
4 Replies
Highlighted
With your permission, if I can recommend. It can help us all if you upload an Excel file (without sensitive data), please no picture.
In some cases, the translation does not help to understand the problem. It would be a great help, you don't have to readjust everything to see where the problem could be.

Thank you for your understanding and patience


Nikolino
I know I don't know anything (Socrates)
Highlighted

@Varsit_N_Shah 

Power Query could work. If you have one table with column headers as A, B, C (table could be empty one, only headers) and append to it table with headers as C, A, B, resulting data will be placed as A, B, C

Highlighted

@Sergei Baklan 

Thank you for your prompt and valuable reply. Basically I am preparing a template for my team for filing  monthly tax returns. We will get monthly data sheets only after the end of the month. We get the data sheets with more than 100 columns that too in un-arranged manner ( As client software has different logic for exporting the data into excel ). Even in the data sheet we receive from our client my have new columns or may not have all the columns which we may have in our finalized format.

 

In a current position , my team is to copying data from one column to the desired final columns , and here there is a chance of pasting data under wrong column. So to avoid such error , I want some solution , where my just had to browse the file in to finalized format , data from un-arranged workbook , will be automatically shifted at right column. Any additional column should be added at the last and if any column was not available in a particular month then , in finalized format , for that particular month , that column should remain blank.

To explain this with format , I have attached 4 Files.

1. Finalized Format - My desired output after importing data for 3 months

2. 3 months data files - All the 3 workbooks have un-arranged columns.

I have tried , power query , but may being new to excel ( not pro like you sir ) , i didn't worked for me. As I didn't understood how to give column reference.

 

Once again thanks a bunch for sparing time for me and replying to my queries. Good day. Take care.

 

Varsit N. Shah  

Highlighted

@Nikolino @Sergei Baklan 

 

Thank you for your prompt and valuable reply. Basically I am preparing a template for my team for filing  monthly tax returns. We will get monthly data sheets only after the end of the month. We get the data sheets with more than 100 columns that too in un-arranged manner ( As client software has different logic for exporting the data into excel ). Even in the data sheet we receive from our client my have new columns or may not have all the columns which we may have in our finalized format.

 

In a current position , my team is copying data from one column to the desired final columns , and here there is a chance of pasting data under wrong column. So to avoid such error , I want some solution , where my team just had to browse the file in to finalized format , data from un-arranged workbook , will be automatically shifted at right column. Any additional column should be added at the end of the data and if any column was not available in a particular month then , in finalized format , for that particular month , that column should remain blank.

To explain this with format , I have attached 4 Files. 

1. Finalized Format - My desired output after importing data for 3 months

2. 3 months data files - All the 3 workbooks have un-arranged columns.

I have tried , power query , but being new to excel ( not pro like you sir ) , i didn't worked for me. As I didn't understood how to give column reference.

 

Once again thanks a bunch for sparing time for me and replying to my queries. Good day. Take care.

 

Varsit N. Shah