MichaelS94
Board Regular
- Joined
- Aug 26, 2014
- Messages
- 59
Hi,
I'm trying to use the index and small functions (from a formula i found online) to search a list of text and return any values that have a partial match.
E.g. I search for "book" and it returns a corresponding number for "antique books", "assembling of books", "book publishing" etc.
The formula i used is below and i found it online - it doen'st work with wiildcards and only works if there is an exact match.
=IF(ISERROR(INDEX($A$1:$B$15600,SMALL(IF($A$1:$A$15600=$E$1,ROW($A$1:$A$15600)),ROW(1:1)),2)),"",INDEX($A$1:$B$15600,SMALL(IF($A$1:$A156008=$E$1,ROW($A$1:$A$15600)),ROW(1:1)),2))
Here is what my spreadsheet looks like and ideally how I want it to work:
<tbody>
</tbody>
Could any of you please have a look and offer any recommendations /advice? Essentially I just have a long list and want to be able to search for something and it would return any (often multiple) suitable matches.
Thanks so much - really stuck on this one!
I'm trying to use the index and small functions (from a formula i found online) to search a list of text and return any values that have a partial match.
E.g. I search for "book" and it returns a corresponding number for "antique books", "assembling of books", "book publishing" etc.
The formula i used is below and i found it online - it doen'st work with wiildcards and only works if there is an exact match.
=IF(ISERROR(INDEX($A$1:$B$15600,SMALL(IF($A$1:$A$15600=$E$1,ROW($A$1:$A$15600)),ROW(1:1)),2)),"",INDEX($A$1:$B$15600,SMALL(IF($A$1:$A156008=$E$1,ROW($A$1:$A$15600)),ROW(1:1)),2))
Here is what my spreadsheet looks like and ideally how I want it to work:
List | Number | Lookup | Book |
bla bla | 1 | Matches: | 4 |
bla bla | 2 | 7 | |
bla bla | 3 | 11 | |
book maker | 4 | ||
bla bla | 5 | ||
bla bla | 6 | ||
antique books | 7 | ||
bla bla | 8 | ||
bla bla | 9 | ||
bla bla | 10 | ||
book publisher | 11 | ||
bla bla | 12 | ||
bla bla | 13 | ||
bla bla | 14 | ||
bla bla | 15 | ||
<tbody>
</tbody>
Could any of you please have a look and offer any recommendations /advice? Essentially I just have a long list and want to be able to search for something and it would return any (often multiple) suitable matches.
Thanks so much - really stuck on this one!