AOB
Well-known Member
- Joined
- Dec 15, 2010
- Messages
- 660
- Office Version
- 365
- 2016
- 2013
- Platform
- Windows
Hi guys,
I've read online that it is possible to use wildcard characters within INDEX / MATCH array formulas but I'm having no luck implementing such a formula?
I have a sheet of data and need to locate information in a named range ("rngLookup") based on 4 criteria - one of which is a 'partial' match of text. So in one column (column B), I have some pipe-delimited 'options' and I need the formula to detect a match if the keyword is present within the cell's text, enclosed by the pipe character.
This is the formula I'm using :
This is the line in the named range that should match based on the above example (and return the "Y" in column D)
<tbody>
</tbody>
The second array (highlighted in red) is returning all FALSE values; I was hoping the wildcards before and after in the string could be used to detect the required text within the cell?
Can anybody advise what I'm doing wrong? (The other 3 criteria are working fine...)
Thanks
AOB
I've read online that it is possible to use wildcard characters within INDEX / MATCH array formulas but I'm having no luck implementing such a formula?
I have a sheet of data and need to locate information in a named range ("rngLookup") based on 4 criteria - one of which is a 'partial' match of text. So in one column (column B), I have some pipe-delimited 'options' and I need the formula to detect a match if the keyword is present within the cell's text, enclosed by the pipe character.
This is the formula I'm using :
Code:
{=IFERROR(INDEX(rngLookup,
MATCH(1,
(OFFSET(rngLookup,0,0,,1)="Alan")*
[COLOR=#ff0000](OFFSET(rngLookup,0,1,,1)="*|DEFG|*")*[/COLOR]
(OFFSET(rngLookup,0,2,,1)="123")*
(OFFSET(rngLookup,0,4,,1)="X")
,0),4),
"")}
This is the line in the named range that should match based on the above example (and return the "Y" in column D)
A | B | C | D | E | F | |
1 | Alan | |ABCD|DEFG| | 123 | Y | X | 98.76 |
<tbody>
</tbody>
The second array (highlighted in red) is returning all FALSE values; I was hoping the wildcards before and after in the string could be used to detect the required text within the cell?
Can anybody advise what I'm doing wrong? (The other 3 criteria are working fine...)
Thanks
AOB