HeyMichaelB
New Member
- Joined
- Apr 13, 2020
- Messages
- 1
- Office Version
- 2016
- Platform
- Windows
Hi all,
First I want to apologize if my question lacks some formula knowledge, I'm new to this level of Excel and trying to figure this out. Second, I want to thank all for tolerating my ignorance.
Here is my challange:
I'm designing a stopgap solution for querying a large Excel spreadsheet that was an import of file share list. I've been able to draft the search function to return multiple rows matching the exact criterion, but the requirement is now to have the criterion be a wildcard for both number and text; example: '81301*' or '*301904', OR 'Copyright*' and '*XYZ Company'. I have concatenated 2 columns to A2:Axxxx to combine the numeric values and text (as a search 'helper' column), in this format: 8301904 | Copyright for XYZ Company.
The business unit would like to wildcard search on both on the number values AND text.
Here is the base formula using ISNUMBER which is 'good' for returning the number queries, but not so much for the text:
=IFERROR(INDEX(FileLink, SMALL(IF(ISNUMBER(SEARCH($D$4,TradeMarkID)), ROW(FileLink)-ROW(ANAQUADATA!$A$2)+1), ROW(1:1))),"" )
Thank you in advance for the responses, and apologies if my ask is without clarity. Michael
First I want to apologize if my question lacks some formula knowledge, I'm new to this level of Excel and trying to figure this out. Second, I want to thank all for tolerating my ignorance.
Here is my challange:
I'm designing a stopgap solution for querying a large Excel spreadsheet that was an import of file share list. I've been able to draft the search function to return multiple rows matching the exact criterion, but the requirement is now to have the criterion be a wildcard for both number and text; example: '81301*' or '*301904', OR 'Copyright*' and '*XYZ Company'. I have concatenated 2 columns to A2:Axxxx to combine the numeric values and text (as a search 'helper' column), in this format: 8301904 | Copyright for XYZ Company.
The business unit would like to wildcard search on both on the number values AND text.
Here is the base formula using ISNUMBER which is 'good' for returning the number queries, but not so much for the text:
=IFERROR(INDEX(FileLink, SMALL(IF(ISNUMBER(SEARCH($D$4,TradeMarkID)), ROW(FileLink)-ROW(ANAQUADATA!$A$2)+1), ROW(1:1))),"" )
Thank you in advance for the responses, and apologies if my ask is without clarity. Michael