Hi guys!
I'm importing PDF-files into Excel in Office365 environment, using PowerQuery's new-ish PDF file support. However, given there are some minor differences over files, PowerQuery / Excel parses data a bit differently, based on individual PDF.
I'm counting on the number of imported rows and data position per row to be constant (2), however the number of imported columns can vary to some extent, which also move the data cell I'm after (as well as change column header name). What I need to do, is grab a certain text from the imported table, but given the fluctuation in columns, I can't hardcode the specific column range, but have to use wildcard search to first pinpoint the data on row and then grab it. Data contents also vary, but can be identified through wildcard.
So, I have a table and its 2nd (list)row is worksheet row 3 and I expect the data to be anywhere in the range of B3:F3 with the contents starting "Mytext*". My goal is to pinpoint the text, and grab the entire cell contents. Any tips on how to do this?
Using a VBA code to loop through all the cells and run search, should work, but there might be a simpler solution via worksheet formula... I can successfully target it with XMATCH, but only getting column number in response). Is there a way to convert this to cell address?
Thanks a lot in advance!
I'm importing PDF-files into Excel in Office365 environment, using PowerQuery's new-ish PDF file support. However, given there are some minor differences over files, PowerQuery / Excel parses data a bit differently, based on individual PDF.
I'm counting on the number of imported rows and data position per row to be constant (2), however the number of imported columns can vary to some extent, which also move the data cell I'm after (as well as change column header name). What I need to do, is grab a certain text from the imported table, but given the fluctuation in columns, I can't hardcode the specific column range, but have to use wildcard search to first pinpoint the data on row and then grab it. Data contents also vary, but can be identified through wildcard.
So, I have a table and its 2nd (list)row is worksheet row 3 and I expect the data to be anywhere in the range of B3:F3 with the contents starting "Mytext*". My goal is to pinpoint the text, and grab the entire cell contents. Any tips on how to do this?
Using a VBA code to loop through all the cells and run search, should work, but there might be a simpler solution via worksheet formula... I can successfully target it with XMATCH, but only getting column number in response). Is there a way to convert this to cell address?
Thanks a lot in advance!