I have a spreadsheet that I am trying to populate by using an array formula. Right now, I have a formula that looks in a range and identifies if the word "Spouse" is within it. However, I would like to update the formula to search for "Spouse" & "Ex-Spouse" within the same range, but my current attempts are not working.
I made a named range for the list of Spouse & Ex-Spouse labeled Marriage hoping that would help, but it looks to find combinations of Spouse & Ex-Spouse together instead of separately.
I have tried the formulas: SEARCH, FIND, ISNUMBER, SUMPRODUCT, but it seems that works better when looking in a singular cell rather than a range.
Here is the current formula using "Spouse":
I made a named range for the list of Spouse & Ex-Spouse labeled Marriage hoping that would help, but it looks to find combinations of Spouse & Ex-Spouse together instead of separately.
I have tried the formulas: SEARCH, FIND, ISNUMBER, SUMPRODUCT, but it seems that works better when looking in a singular cell rather than a range.
Here is the current formula using "Spouse":
Excel Formula:
INDEX($D$2:$D$17,SMALL(IF((B2:$B$17=A21)*($C$2:$C$17="Spouse"),ROW($E$2:$E$17)),1*1))