how to add a partial text search to complicated index and match formula

neuropsychiatry

New Member
Joined
Jan 22, 2019
Messages
5
Hi I have a complicated index and match formula but I cannot figure out how to add a partial text search to it. Eg how do I add search for "apple*" without an array.

thank you.....here is the current formula. alex

=INDEX(Sheet2!E5:E1346,MATCH(Chooser!E26&Chooser!E23&Chooser!E29,Sheet2!B5:B1346&Sheet2!C5:C1346&Sheet2!D5:D1346,0),1,1)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
See if this works for you:

=INDEX(Sheet2!E5:E1346,MATCH(1,INDEX(ISNUMBER(SEARCH(Chooser!E26,Sheet2!B5:B1346))*(Sheet2!C5:C1346=Chooser!E23)*(Sheet2!D5:D1346=Chooser!E29),0),0))

Ive assumed apple is in E26 and to be found in B5:B1346.
 
Upvote 0
See if this works for you:

=INDEX(Sheet2!E5:E1346,MATCH(1,INDEX(ISNUMBER(SEARCH(Chooser!E26,Sheet2!B5:B1346))*(Sheet2!C5:C1346=Chooser!E23)*(Sheet2!D5:D1346=Chooser!E29),0),0))

Ive assumed apple is in E26 and to be found in B5:B1346.


yes thanks, or close enough that I followed your lead and found the solution!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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