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


ABCDE
1DanielPeteBobRich
2Daniel121134123453
3Pete12345432439
4Bob200129152879
5Rich657764777666
6
7
8Bob
9Daniel123

<tbody>
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

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,214,606
Messages
6,120,488
Members
448,967
Latest member
visheshkotha

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