See image of sample data below for reference. I am looking for help to insert value of Sheet1, Row1 Column Header based on if the text is also in Column B, Sheet2 of the row of the Matching Unique ID. In the sample below, I have manually used IF(ISNUMBER) for Sheet 1 row 2 to show target end result. However, this does not contain any matching of unique ID.
My goal is for sheet 1 to be a template for when new data comes into sheet 2 (which is an export from a separate source) I can automate population of the data on sheet 1. I believe I would need to use a combination of IF(ISNUMBER and INDEX MATCH but have been unsuccessful thus far.