Sumifs or alternative for a table

danielpeam

New Member
Joined
Feb 25, 2018
Messages
8
I'll do my best to phrase this - I have a table, see below.

I have a table similar to below, in cells A9 and B8, I want to be able to edit the names to any of the names in the table, and have it return the appropriate value.

E.g, If I change the names to Bob and Pete, it should show the value in D4. Does anyone know the best formula for this?

Pete
Bob 129


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Daniel[/TD]
[TD]Pete[/TD]
[TD]Bob[/TD]
[TD]Rich[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Daniel[/TD]
[TD]121[/TD]
[TD]134[/TD]
[TD]123[/TD]
[TD]453[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Pete[/TD]
[TD]12[/TD]
[TD]345[/TD]
[TD]432[/TD]
[TD]439[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Bob[/TD]
[TD]200[/TD]
[TD]129[/TD]
[TD]152[/TD]
[TD]879[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Rich[/TD]
[TD]657[/TD]
[TD]764[/TD]
[TD]777[/TD]
[TD]666[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Bob[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Daniel[/TD]
[TD]123[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Excel 2013/2016
ABCDE
1DanielPeteBobRich
2Daniel121134123453
3Pete12345432439
4Bob200129152879
5Rich657764777666
6
7
8Bob
9Daniel123
Sheet1
Cell Formulas
RangeFormula
B9=INDEX(B2:E5,MATCH(A9,A2:A5,0),MATCH(B8,B1:E1,0))
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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