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.

--FxsMaxFysMaxFzs MaxMxs MaxMys MaxMzs MaxFxd MaxFyd MaxFzd MaxMxd MaxMyd MaxMzd Max
AA1.5X1X64671333633369762302303559600513345556556556
AB3X1.5X646715516556012206646643559600513345678746691
A103X2X6467146714671122029829835596005133456781356691
AA1.5X1X84671538253829762582583559600513345488488488
---3X1.5X8a46715516556012206646643559600513345597597597
A503X1.5X8120106005667217625025026227600514457624624624
A603X2X8120106005667217628138136227600514457895895895
A704X3X812010600566721762475475622760051445716271979935
A052X1X10104094270427017222982986227600514457895895895
A503X1.5X10120106005667217625695696227600514457502502502
A603X2X10120106005658317624204206227600514457759759759
A704X3X1010231600566721762420420622760051445716271979935
A806X4X101201060056672176214911491622760051445716272034935
A203X1.5X13120106005667217629089086227600514457719719719
A303X2X138541547154711762475475622760051445716271722935
A404X3X1312010600566721762542542622760051445716272034935
A806X4X131201060056672176217621491622760051445716272034935
A908X6X131556914145889620341586158666721334515569169538503850
A10010X8X131556914145889620342712291566721334515569169538503850
A1108X6X151556914145889620342007200766721334515569169538503850
A12010X8X151556914145889620341532153266721334515569169538503850

<tbody>
</tbody>


Regards,
Badmi
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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:

AB,3X1.5X6,FysMax===>5516

A80,6X4X13,FzsMax===>6672

I need to fetch values in Bold from table.

<tbody>
</tbody>
 
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,215,129
Messages
6,123,218
Members
449,091
Latest member
jeremy_bp001

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