In the attached spreadsheet, I have rows of data. Due to the input from our customer, all data appears on one row. My goal is:
- Macro created (I have not written them before) that reviews each row. If the value of "JJ" appears, followed by an airport listed in the 'Master Airports' tab, copy the row to a new tab in the spreadsheet. Example (row #5 in my spreadsheet):
"JJ" appears, and an airport listed in the 'Master Airport' list, that of 'CLT' will result in this row being copied to a new tab. The amount of spaces between "JJ" and "CLT" will always be 7 (data of ",UA,X,"). The row of data may extend out but the distance will always be 7.
If finding the JJ and a corresponding Master Airport is too difficult, then simply, wherever "JJ" appears in the row, copy that row to a tab in the spreadsheet.
Please see attached for example. The rows highlighted in yellow on the 'RAW' tab are what I want copied to the 'JJ' tab.
FYI, the data provided is barely 1% of my data....I work with a lot of data!
Thank you as always!