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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

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,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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