Need quick help with calculating the below

samuelrao

New Member
Joined
Jan 18, 2019
Messages
2
Need quick help with a formula
I have the following data in excel. Based on the row label value in the description column, it has to go to the corresponding column label, and have to extract the intersection value of row and column. Can you please provide some guidance. I tried various functions, somehow no luck.
[TABLE="width: 248"]
<colgroup><col><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD]Description[/TD]
[TD]ABC1[/TD]
[TD]ABC2[/TD]
[TD]ABC18[/TD]
[TD]ABC58[/TD]
[/TR]
[TR]
[TD]ABC2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]ABC18[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]ABC58[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]ABC1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]ABC18[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]


If i have to pull the value for ABC2, it has to go to corresponding ABC2 field, and extract the intersection of both row and column. In this case it is 1.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Book1
ABCDE
1DescriptionABC1ABC2ABC18ABC58
2ABC20100
3ABC180101
4ABC580001
5ABC10010
6ABC180010
7
8ABC21
Sheet1
Cell Formulas
RangeFormula
B8=INDEX($B$2:$E$6,MATCH($A$8,$A$2:$A$6,0),MATCH($A$8,$B$1:$E$1,0))
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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