Multiple way Lookup with wildcard & to return #N/A is criteria is not found

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
698
Office Version
  1. 2010
Platform
  1. Windows
@DanteAmor

Your solution here Two-Way Lookup with wildcard is great.
But if criteria is not in search range, formula returns 0%.
Can you post formula that return #N/A if criteria is not found in search range?

Regards,
Sean
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If you have the Filter function, try this:

Excel Formula:
=FILTER(INDEX(C3:F9,,MATCH(I4,C2:F2,0)),(B3:B9=I3)*(ISNUMBER(SEARCH(I2,A3:A9))))

(y)
 
Upvote 0
I don't have FILTER function but thanks for your help.
I just want to differentiate real 0% from 0% returned when criteria are not met.
 
Upvote 0
Try this array formula:

Dante Amor
ABCDEFGHI
1Criteria
2IndustryBelow 25%25% to 50%50% to 75%Above 75%digi
3Director Core +
4Airlines, Automotive & IndustrialDirector Strong3%4%5%6%25% to 50%
5Preformance Improvement, DigitalDirector Core +5%6%
60.05
7
8
9
Hoja5
Cell Formulas
RangeFormula
I6I6=IFERROR(INDEX(C3:F9,MAX((ISNUMBER(SEARCH(I2,A3:A9)))*(B3:B9=I3)*ROW(B3:B9)) - ROW(B3) +1,MATCH(I4,C2:F2,0)),"Not match")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thank you very much. Will test it over the weekend.
 
Upvote 0

Forum statistics

Threads
1,215,620
Messages
6,125,876
Members
449,268
Latest member
sGraham24

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