Matching Formula has me Stumped!

Restyl

New Member
Joined
Feb 2, 2016
Messages
16
I've been working on this one for a bit with no success. I've outlined what I'm trying to accomplish below:
3GmMnOf.png

Currently, the return works very well, but only with exact matches, everything else throws me an ERROR. I tried modifying the match_type which causes me to throw an error for some reason. What am I doing wrong?

Here is my current formula:
Code:
=IF(ISBLANK('Quoting Form'!$F$8), "???", IFERROR(INDEX('Motor Data'!$S$10:$S$15,MATCH('Quoting Form'!$D$8,INDEX('Motor Data'!$T$10:$X$15,,MATCH('Quoting Form'!$D$4,'Motor Data'!$T$9:$X$9,0)),0)),"ERROR"))
 

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
Hi Changing the outer Match to Greater than instead of exact match should work:

Code:
=IF(ISBLANK('Quoting Form'!$F$8), "???", IFERROR(INDEX('Motor Data'!$S$10:$S$15,MATCH('Quoting Form'!$D$8,INDEX('Motor Data'!$T$10:$X$15,,MATCH('Quoting Form'!$D$4,'Motor Data'!$T$9:$X$9,0)),-1)),"ERROR"))

I tried replicating the same it worked for me:

ABCDEFGHIJK
1Contractor120208230240480VoltageHP
2A135405010010048011
3B9025303050
4C4510151525
5D277.57.57.510Formula
6E183335C
7F91.51.51.52

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
I6=INDEX($A$1:$A$7,MATCH(K2,INDEX($A$1:$F$7,,MATCH($I$2,A1:F1,0)),-1))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Hope this helps!

I've been working on this one for a bit with no success. I've outlined what I'm trying to accomplish below:
3GmMnOf.png

Currently, the return works very well, but only with exact matches, everything else throws me an ERROR. I tried modifying the match_type which causes me to throw an error for some reason. What am I doing wrong?

Here is my current formula:
Code:
=IF(ISBLANK('Quoting Form'!$F$8), "???", IFERROR(INDEX('Motor Data'!$S$10:$S$15,MATCH('Quoting Form'!$D$8,INDEX('Motor Data'!$T$10:$X$15,,MATCH('Quoting Form'!$D$4,'Motor Data'!$T$9:$X$9,0)),0)),"ERROR"))
 
Upvote 0
Hi Changing the outer Match to Greater than instead of exact match should work:

Code:
=IF(ISBLANK('Quoting Form'!$F$8), "???", IFERROR(INDEX('Motor Data'!$S$10:$S$15,MATCH('Quoting Form'!$D$8,INDEX('Motor Data'!$T$10:$X$15,,MATCH('Quoting Form'!$D$4,'Motor Data'!$T$9:$X$9,0)),-1)),"ERROR"))

I tried replicating the same it worked for me:

ABCDEFGHIJK
1Contractor120208230240480VoltageHP
2A135405010010048011
3B9025303050
4C4510151525
5D277.57.57.510Formula
6E183335C
7F91.51.51.52

<tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
I6=INDEX($A$1:$A$7,MATCH(K2,INDEX($A$1:$F$7,,MATCH($I$2,A1:F1,0)),-1))

<tbody>
</tbody>

<tbody>
</tbody>

Hope this helps!


Thanks so much for looking at this. I had tried changing the outer match to greater than and had no luck... I just found the solution after a painful amount of debugging

I was using Data Validation Lists for my search Value, HP. This was throwing an error because the number was formatted as "Text" in the Data Validation list, and formatted as a "Number" in the lookup list. Thus, error.

Sometimes its the "obvious" stuff :p
 
Upvote 0

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,038
Latest member
apwr

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