Using a lookup or index match function to sum list of values with different reference names

vijaykumar

New Member
Joined
Jan 6, 2014
Messages
24
Hello, I need to figure out a way to match a list of accounts (first table below) to a list of family names (second table below) and consolidate (sum) the values from accounts belonging to members of the same family (indicated by accounts with the same family name in table 1 such as Wallis and Baldwin). I want to pull these values into a worksheet that already has a column with the family names (table 2 below) however this sheet only has one line for each family, so if that particular family has more than one account on the source page, I'll need it to sum those values and pull the single total into the sheet. I will constantly be adding new names and rows to the sheet over time, so want to ensure the formula will still work in this case. Please note the client's last name will not always be a part of their Account Name in table 1 below. I do have a complete list of account names and the corresponding family names.

Source Sheet (Sheet I'm pulling values from, in a different workbook)
Jack Wallis Trust$50
Lane Wallis Savings Account$100
Anthony Wallis Checking$150
Jeff Bross Personal$125
Alex Baldwin LP Account$140
Jess Baldwin Personal$70
TOTAL$635

<tbody>
</tbody>

Desired output Sheet I'm pulling values into)

Wallis$300
Bross$125
Baldwin$210
TOTAL$635

<tbody>
</tbody>

Thanks!
Vijay
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You can use "*"& [Your Short Name cell ref] &"*" with a SUMIF;
=SUMIF(Table1!A:A,"*"&Table2!A1&"*",Table1!B:B)
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

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