I have the following working formula in my header row and that returns an array of "Project Team Owner" values from my Form Responses
sheet based on a matching Unique ID
:
={"Project Team Owner";
INDEX(IFNA(VLOOKUP(A2:A,'Form Responses'!A2:U,COLUMN('Form Responses'!G2:G),0)))}
The problem I'm having is that the "Project Team Owner" will be in one of (not both) Form Responses
Column G or Column H.
How can I modify my formula so it will return the result from Column H if it isn't found in Column G?
Sample Data
Link to example Google spreadsheet
Form Responses
A | B - F | G | H | |
---|---|---|---|---|
1 | Unique ID | Value 1 | Value 2 | |
2 | PID-1 | TCP | ||
3 | PID-2 | Computing Services |
Desired Result (Formula in B1)
A | B | |
---|---|---|
1 | Unique ID | Project Team Owner |
2 | PID-1 | TCP |
3 | PID-2 | Computing Services |