Adding a wildcard function to an excel array formula to return multiple values vertically of both Number and Text

HeyMichaelB

New Member
Joined
Apr 13, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. 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
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top