index with match function -two columns and one row

badmi

New Member
Joined
May 27, 2019
Messages
11
Hi all,
i am new to this forum. I have tried functions index and match to fetch a value but could not get success.
my query is :
I have to match two columns and one row to fetch a value, but i am getting error. after using below function.
for example: A50, 3X1.5X10, Mys Max===>569
=INDEX($C$6:$N$26,MATCH(A29&B29,$A$6:$A$26&$B$6:$B$26,0),MATCH(C28,$C$5:$N$5,0))
Please guide me and where i am going wrong.

[TABLE="width: 1065"]
<tbody>[TR]
[TD]-[/TD]
[TD]-[/TD]
[TD]FxsMax[/TD]
[TD]FysMax[/TD]
[TD]Fzs Max[/TD]
[TD]Mxs Max[/TD]
[TD]Mys Max[/TD]
[TD]Mzs Max[/TD]
[TD]Fxd Max[/TD]
[TD]Fyd Max[/TD]
[TD]Fzd Max[/TD]
[TD]Mxd Max[/TD]
[TD]Myd Max[/TD]
[TD]Mzd Max[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]1.5X1X6[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]3336[/TD]
[TD="align: right"]3336[/TD]
[TD="align: right"]976[/TD]
[TD="align: right"]230[/TD]
[TD="align: right"]230[/TD]
[TD="align: right"]3559[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]556[/TD]
[TD="align: right"]556[/TD]
[TD="align: right"]556[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]3X1.5X6[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]5516[/TD]
[TD="align: right"]5560[/TD]
[TD="align: right"]1220[/TD]
[TD="align: right"]664[/TD]
[TD="align: right"]664[/TD]
[TD="align: right"]3559[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]678[/TD]
[TD="align: right"]746[/TD]
[TD="align: right"]691[/TD]
[/TR]
[TR]
[TD]A10[/TD]
[TD]3X2X6[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]1220[/TD]
[TD="align: right"]298[/TD]
[TD="align: right"]298[/TD]
[TD="align: right"]3559[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]678[/TD]
[TD="align: right"]1356[/TD]
[TD="align: right"]691[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD]1.5X1X8[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]5382[/TD]
[TD="align: right"]5382[/TD]
[TD="align: right"]976[/TD]
[TD="align: right"]258[/TD]
[TD="align: right"]258[/TD]
[TD="align: right"]3559[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]488[/TD]
[TD="align: right"]488[/TD]
[TD="align: right"]488[/TD]
[/TR]
[TR]
[TD]---[/TD]
[TD]3X1.5X8a[/TD]
[TD="align: right"]4671[/TD]
[TD="align: right"]5516[/TD]
[TD="align: right"]5560[/TD]
[TD="align: right"]1220[/TD]
[TD="align: right"]664[/TD]
[TD="align: right"]664[/TD]
[TD="align: right"]3559[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]597[/TD]
[TD="align: right"]597[/TD]
[TD="align: right"]597[/TD]
[/TR]
[TR]
[TD]A50[/TD]
[TD]3X1.5X8[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]502[/TD]
[TD="align: right"]502[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]624[/TD]
[TD="align: right"]624[/TD]
[TD="align: right"]624[/TD]
[/TR]
[TR]
[TD]A60[/TD]
[TD]3X2X8[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]813[/TD]
[TD="align: right"]813[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]895[/TD]
[TD="align: right"]895[/TD]
[TD="align: right"]895[/TD]
[/TR]
[TR]
[TD]A70[/TD]
[TD]4X3X8[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]475[/TD]
[TD="align: right"]475[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]1979[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A05[/TD]
[TD]2X1X10[/TD]
[TD="align: right"]10409[/TD]
[TD="align: right"]4270[/TD]
[TD="align: right"]4270[/TD]
[TD="align: right"]1722[/TD]
[TD="align: right"]298[/TD]
[TD="align: right"]298[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]895[/TD]
[TD="align: right"]895[/TD]
[TD="align: right"]895[/TD]
[/TR]
[TR]
[TD]A50[/TD]
[TD]3X1.5X10[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]569[/TD]
[TD="align: right"]569[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]502[/TD]
[TD="align: right"]502[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD]A60[/TD]
[TD]3X2X10[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6583[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]420[/TD]
[TD="align: right"]420[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]759[/TD]
[TD="align: right"]759[/TD]
[TD="align: right"]759[/TD]
[/TR]
[TR]
[TD]A70[/TD]
[TD]4X3X10[/TD]
[TD="align: right"]10231[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]420[/TD]
[TD="align: right"]420[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]1979[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A80[/TD]
[TD]6X4X10[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]1491[/TD]
[TD="align: right"]1491[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A20[/TD]
[TD]3X1.5X13[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]908[/TD]
[TD="align: right"]908[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]719[/TD]
[TD="align: right"]719[/TD]
[TD="align: right"]719[/TD]
[/TR]
[TR]
[TD]A30[/TD]
[TD]3X2X13[/TD]
[TD="align: right"]8541[/TD]
[TD="align: right"]5471[/TD]
[TD="align: right"]5471[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]475[/TD]
[TD="align: right"]475[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]1722[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A40[/TD]
[TD]4X3X13[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]542[/TD]
[TD="align: right"]542[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A80[/TD]
[TD]6X4X13[/TD]
[TD="align: right"]12010[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]1762[/TD]
[TD="align: right"]1491[/TD]
[TD="align: right"]6227[/TD]
[TD="align: right"]6005[/TD]
[TD="align: right"]14457[/TD]
[TD="align: right"]1627[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]935[/TD]
[/TR]
[TR]
[TD]A90[/TD]
[TD]8X6X13[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]14145[/TD]
[TD="align: right"]8896[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]1586[/TD]
[TD="align: right"]1586[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]1695[/TD]
[TD="align: right"]3850[/TD]
[TD="align: right"]3850[/TD]
[/TR]
[TR]
[TD]A100[/TD]
[TD]10X8X13[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]14145[/TD]
[TD="align: right"]8896[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]2712[/TD]
[TD="align: right"]2915[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]1695[/TD]
[TD="align: right"]3850[/TD]
[TD="align: right"]3850[/TD]
[/TR]
[TR]
[TD]A110[/TD]
[TD]8X6X15[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]14145[/TD]
[TD="align: right"]8896[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]2007[/TD]
[TD="align: right"]2007[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]1695[/TD]
[TD="align: right"]3850[/TD]
[TD="align: right"]3850[/TD]
[/TR]
[TR]
[TD]A120[/TD]
[TD]10X8X15[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]14145[/TD]
[TD="align: right"]8896[/TD]
[TD="align: right"]2034[/TD]
[TD="align: right"]1532[/TD]
[TD="align: right"]1532[/TD]
[TD="align: right"]6672[/TD]
[TD="align: right"]13345[/TD]
[TD="align: right"]15569[/TD]
[TD="align: right"]1695[/TD]
[TD="align: right"]3850[/TD]
[TD="align: right"]3850[/TD]
[/TR]
</tbody>[/TABLE]


Regards,
Badmi
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi & welcome to MrExcel.

Did you confirm the formula with Ctrl Shift Enter, rather then just Enter?
If so you will see the formula wrapped in {}
 
Upvote 0
Thanks for welcoming,

Sir,

I did try Ctrl+Shift+Enter. i didnt get fruitfull result.
Values are not changing and it is not working for other parameters.
 
Upvote 0
Are the values you are trying to match in A29 & B29 with the header to match in C28?
 
Upvote 0
i didnt get your point. But i can give u an examples:

[TABLE="class: cms_table, width: 1065"]
<tbody>[TR]
[TD]AB,3X1.5X6,FysMax===>5516

A80,6X4X13,FzsMax===>6672

I need to fetch values in Bold from table.[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Your formula is looking at the green cells to get the lookup values


Excel 2013/2016
ABCDEFGHIJKLMN
5--FxsMaxFysMaxFzs MaxMxs MaxMys MaxMzs MaxFxd MaxFyd MaxFzd MaxMxd MaxMyd MaxMzd Max
6AA1.5X1X64671333633369762302303559600513345556556556
7AB3X1.5X646715516556012206646643559600513345678746691
8A103X2X6467146714671122029829835596005133456781356691
9AA1.5X1X84671538253829762582583559600513345488488488
10---3X1.5X8a46715516556012206646643559600513345597597597
11A503X1.5X8120106005667217625025026227600514457624624624
12A603X2X8120106005667217628138136227600514457895895895
13A704X3X812010600566721762475475622760051445716271979935
14A052X1X10104094270427017222982986227600514457895895895
15A503X1.5X10120106005667217625695696227600514457502502502
16A603X2X10120106005658317624204206227600514457759759759
17A704X3X1010231600566721762420420622760051445716271979935
18A806X4X101201060056672176214911491622760051445716272034935
19A203X1.5X13120106005667217629089086227600514457719719719
20A303X2X138541547154711762475475622760051445716271722935
21A404X3X1312010600566721762542542622760051445716272034935
22A806X4X131201060056672176217621491622760051445716272034935
23A908X6X131556914145889620341586158666721334515569169538503850
24A10010X8X131556914145889620342712291566721334515569169538503850
25A1108X6X151556914145889620342007200766721334515569169538503850
26A12010X8X151556914145889620341532153266721334515569169538503850
27
28Mys Max
29A503X1.5X10569
Data
Cell Formulas
RangeFormula
E29{=INDEX($C$6:$N$26,MATCH(A29&B29,$A$6:$A$26&$B$6:$B$26,0),MATCH(C28,$C$5:$N$5,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.


Is that were your values are?
 
Upvote 0
Thank you alot.
with your help i got results.
can you Pls tell me. what went wrong in my array formula?

So that i should not repeat same mistake.
 
Upvote 0
There is nothing wrong with your formula. :)
 
Upvote 0
Or try the Sumproduct function without array enter.

=SUMPRODUCT((A29=$A$6:$A$26)*($B29=B$6:$B$26)*($C$5:$N$5=C28),$C$6:$N$26)

Regards
Bosco
 
Upvote 0

Forum statistics

Threads
1,223,635
Messages
6,173,481
Members
452,516
Latest member
archcalx

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