• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combine 4 excel merged cells workbooks into one

Purushottam

New Member
I have 4 merged cells excel workbooks naming OUTPUT_8A , OUTPUT_8B , OUTPUT_8C AND OUTPUT_8D i want to combine these files into one excel workbook( required format attached) weekly please solve this problem
 

Attachments

  • MARCH-2022.rar
    631.6 KB · Views: 4
In the attached, a Power Query offering which may not be very robust.
There's a cell at AA2 which is a named range FullPath. Enter here the full path to the folder.
The query only looks at .xls files whose name begins output (case insensitive) in that folder.
Right-click the table and choose Refresh.
Row 1 in the sheet is not necessary.
 

Attachments

  • Chandoo47890Required format.xlsx
    825.3 KB · Views: 2
In the attached, a Power Query offering which may not be very robust.
There's a cell at AA2 which is a named range FullPath. Enter here the full path to the folder.
The query only looks at .xls files whose name begins output (case insensitive) in that folder.
Right-click the table and choose Refresh.
Row 1 in the sheet is not necessary.

While adding a new excel file to this folder it showing error "Data could not be retrieved from the database." the new excel file is attached herewith.
 

Attachments

  • OUTPUT_08A.rar
    234.3 KB · Views: 1
I did say it wasn't very robust!
You have the table starting in a different column in that latest file.
See if the attached works any better.
 

Attachments

  • Chandoo47890Required format.xlsx
    24.8 KB · Views: 1
I did say it wasn't very robust!
You have the table starting in a different column in that latest file.
See if the attached works any better.
Thanks sir your magic works
only 1st column consumer status is not repeating in below rows (each rows) like DISCONNECTED, PERMANENT DISCONNECTED,REGULAR
Thank u sir
 
Back
Top