Aug 23 2019 10:56 AM
Hello,
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.
Aug 23 2019 12:59 PM
SolutionFor such sample
Sheet1
Sheet2
formula in Sheet1!B2 could be
=IF(ISNA(MATCH(1, INDEX( ($A2=Sheet2!$A$1:INDEX(Sheet2!$A:$A,COUNTA(Sheet2!$A:$A)))*ISNUMBER(SEARCH(B$1,Sheet2!$B$1:INDEX(Sheet2!$B:$B,COUNTA(Sheet2!$A:$A)))), 0), 0)),"",B$1)
and drag it the right and down.
In general that could be done by Power Query.
Aug 26 2019 07:50 AM
Aug 23 2019 12:59 PM
SolutionFor such sample
Sheet1
Sheet2
formula in Sheet1!B2 could be
=IF(ISNA(MATCH(1, INDEX( ($A2=Sheet2!$A$1:INDEX(Sheet2!$A:$A,COUNTA(Sheet2!$A:$A)))*ISNUMBER(SEARCH(B$1,Sheet2!$B$1:INDEX(Sheet2!$B:$B,COUNTA(Sheet2!$A:$A)))), 0), 0)),"",B$1)
and drag it the right and down.
In general that could be done by Power Query.