Hello,
I'm trying to tweak the usual index match formula with multiple criteria to allow one criterion to be: if the cell contains.
Normal: =INDEX(LOOKUPARRAY,MATCH(VALUE1&VALUE2,LOOKUPCOLUMN1&LOOKUPCOLUMN2,0),1)
What I'm trying to do, but this doesn't work: =INDEX(LOOKUPARRAY,MATCH(VALUE1&("*"&VALUE2*"*"),LOOKUPCOLUMN1&LOOKUPCOLUMN2,0),1)
This might be clearer in an example spreadsheet.
What I want is to return the value from the cell in column A, if column B = Updated Response and column C contains "phq9_"
Thanks
I'm trying to tweak the usual index match formula with multiple criteria to allow one criterion to be: if the cell contains.
Normal: =INDEX(LOOKUPARRAY,MATCH(VALUE1&VALUE2,LOOKUPCOLUMN1&LOOKUPCOLUMN2,0),1)
What I'm trying to do, but this doesn't work: =INDEX(LOOKUPARRAY,MATCH(VALUE1&("*"&VALUE2*"*"),LOOKUPCOLUMN1&LOOKUPCOLUMN2,0),1)
This might be clearer in an example spreadsheet.
What I want is to return the value from the cell in column A, if column B = Updated Response and column C contains "phq9_"
Multiplecriteriacontainsexample.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | 12/8/22 11:16 | Manage/Design | Edit report | ||
2 | 12/8/22 11:14 | Manage/Design | abcs, phq9_start | ||
3 | 12/8/22 11:12 | Manage/Design | Copy report | ||
4 | 12/8/22 7:51 | Updated Response | end3wpd2 | ||
5 | 12/8/22 7:51 | Sent alert Record CPG1251_LauraS (Preliminary 1 Covid *PT*) | Alert #74 | ||
6 | 12/8/22 7:55 | Updated Response | mistakes | ||
7 | 12/8/22 7:50 | Updated Response | abcs, phq9_start | ||
8 | 12/8/22 7:53 | Updated Response | Edit report | ||
Sheet1 |
Thanks