I need to collate data from 3 Excel spreadsheets in a very specific way, but I'm having absolutely no luck in finding the functions or commands I need to use and for some reason even Google isn't helping me today.
For each line of Sheet1 I want to "Find All rows on Sheet2 WHERE Sheet1 ColumnA is LIKE Sheet 2 ColumnA AND Sheet1 ColumnB is LIKE Sheet2 ColumnB". I think I could probably use EQUALS instead of LIKE with a wildcard character.
Then, for each result that is found by the first query I want to insert a new row below the current row in Sheet1 and copy the data from Sheet2 ColumnC into the newly inserted row ColumnC. I imagine I'm also going to need to have counted the amount of rows returned by the first query so that I can tell it to skip that many rows before repeating the loop, although even if it performs the loop on those new rows it shouldn't find any results anyway.
Obviously is someone wants to write the code for me then I'd be overjoyed! :) But even if anyone is able to let me know the best functions to use for each bit I need then I will still be most grateful, and just research them and put something together myself.
Thanks in advance,
Joe
Edit
Added Examples below, first sheet 1, then sheet 2, then the desired result of sheet 1 after the macro has been run. Also above I stated I would be searching for "LIKE" matches, however it would be more accurate to say I want to search where CELL CONTAINS