My data looks like this:
C.............F.............. H
Jane......Blue..........NON
Bob........Blue..........OUI
Jack.......Red..........OUI
Sarah.....Blue..........OUI
John ......Blue.........NON
Claude......Blue.........(empty)
This formula is gonna look in column C if the person has BLUE and OUI.
=IFERROR(INDEX($C$9:$C$514;MATCH(1;("BLUE"=$F$9:$F$514)*("OUI"=$H$9:$H$514);0));"AUCUN")
Output Bob
Then, I have this for the second match =IFERROR(INDEX($C$9:$C$514;SMALL(IF($H$9:$H$514="OUI";IF($F$9:$F$514="BLUE";ROW($F$9:$F$514)-ROW(INDEX($F$9:$F$514;1;1))+1));2));"AUCUN")
Output Sarah
However, I would want the field "OUI" to be a partial text match. So whenever it finds the letter "O", it would return a match.
So the first match would be Jane
, the second match would be Bob
. I tried replacing "OUI"
by "*O*"
but it tells me that nothing was found.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.