Index(match(),match()) with a partial search

Afro_Cookie

Board Regular
Joined
Mar 17, 2020
Messages
103
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to use a partial text search in one of the matches and it is not returning any results. I've used this method numerous times in the past but never with a partial search. Can someone please take a look at my example below and let me know if they can help?

In my example, I want to input a PO number and have the job number populate based on a partial search of the part. I have also tried two iterations of the wild card function ("*"&"WO" as well as "*WO")

Work Order Current.xlsx
ABCDEF
1JOBPARTCUST POPO4509480964
2X001734016JAR06806014509480964JOB#N/A
3X001734097JAR06806A4509480964
4X001734177JAR06806WO4509480964
Sheet3
Cell Formulas
RangeFormula
F2F2=INDEX(A2:A4,MATCH(F1,C2:C4),MATCH("*WO",B2:B4))
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
You cannot use Index like that, the 1st match is for rows & the 2nd for columns.
How about
Excel Formula:
=FILTER(A2:A4,(C2:C4=F1)*(RIGHT(B2:B4,2)="WO"))
 
Upvote 0
You cannot use Index like that, the 1st match is for rows & the 2nd for columns.
How about
Excel Formula:
=FILTER(A2:A4,(C2:C4=F1)*(RIGHT(B2:B4,2)="WO"))
I tried this and it returned a #CALC! error
 
Upvote 0
That suggest you don't have anything that matches both criteria.
Fluff.xlsm
ABCDEF
1JOBPARTCUST POPO4509480964
2X001734016JAR06806014509480964JOBX001734177
3X001734097JAR06806A4509480964
4X001734177JAR06806WO4509480964
Main
Cell Formulas
RangeFormula
F2F2=FILTER(A2:A4,(C2:C4=F1)*(RIGHT(B2:B4,2)="WO"))
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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