Hi I have a question which I think is simple to answer but I'm struggling and in a rush...
I have a folder with 1000+ excel files all named the same except for a 3 digit code at the end of the filename string, before the extension. I then have two data layers of file for each code. I need to extract the two excel workbooks that have matching 3 digit codes into one workbook, with each of the two data layers going into a separate worksheet.
eg. example files
London_123_Cars_ABC
London_123_Buses_ABC
London_123_Cars_DEF
in this example I need the two files which end in ABC (3 digit code) to merge into one excel file with a sheet containing the 'Cars' data and a sheet containing the 'Buses' data.
i've tried exploders and lists but struggling so any help? the more detail the better, thanks in advance