I have multiple excel files in a folder. I want to import through directory and combine all files after making columns consistent.
Issue:
-Each file has multiple sheet names - some of which are required to be combine and some of them are irrelevant.
-The sheet names of each file are not the same. So I have to import all files and all sheets and then manually select which are the sheets relevant for me.
-All files and sheet names do no have same column structure i.e. column names and number of columns are not same. So i cannot combine based on column names or position. Neither can I have a template file in dynamic input because of inconsistent structure.
- Also some of the sheets have logo on 1st line or 2nd line which needs to be skipped
- Since column names are not same (eg. client vs customer) - I would like to rename the inconsistent ones manually (but there is no logic or standard formula that would work to replace. I would have to see the data and then make column names consistent)
Think of a sales database 2021,2022, 2023 and each file has monthly sheet data eg. Jan-21, Jan-22, and so on... and the
Can someone please solve this problem with a dummy dataset (with directory rather than manually importing individual files). I cannot upload the file due to upload controls. Thanks in advance