Hello,
Your three steps are :
1. =match("A",A1:Z1,0) to get ColNb
2. =match(12,A:A,0) to get RowNb
3. then you can use Index
=Index(yourRange, RowNb,ColNb)
Hope this will help
[TABLE="width: 350"]
<tbody>[TR]
[TD="width: 70"][/TD]
[TD="width: 70, align: right"]1[/TD]
[TD="width: 70"][/TD]
[TD="width: 70"][/TD]
[TD="width: 70, align: right"]2[/TD]
[/TR]
[TR]
[TD]Part[/TD]
[TD]Used in[/TD]
[TD][/TD]
[TD]Part[/TD]
[TD]Used in[/TD]
[/TR]
[TR]
[TD]G58B[/TD]
[TD]Y-3[/TD]
[TD][/TD]
[TD="class: xl63"]904-A[/TD]
[TD="align: right"]3212[/TD]
[/TR]
[TR]
[TD]58B[/TD]
[TD]C-3[/TD]
[TD][/TD]
[TD="class: xl63"]904-B[/TD]
[TD="align: right"]3258[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Part[/TD]
[TD]Used In[/TD]
[TD="colspan: 2"]Warehouse[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]G58B[/TD]
[TD]Y-3 (formula)[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]58B[/TD]
[TD="align: right"]formula [/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]904-A[/TD]
[TD="align: center"]formula [/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]904-B[/TD]
[TD="align: center"]formula [/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Warehouse is entered by hand but I am trying to create a SUMPRODUCT formula to grab it based on the part #
=INDIRECT(ADDRESS(SUMPRODUCT(($A$1:$F$6=A10)*ROW($A$1:$A$6))-2,(SUMPRODUCT(($A$3:$F$6=A10)*COLUMN($A$1:$F$1))+1)))
I need to change the ROW -2 and COLUMN +1 when I drag it down
Formula for part #
=INDEX($A$3:$N$6,MATCH(C9,$A$1:$Z$1,0),MATCH(A9,$A:$A,0))
How do I make excel figure this out?