# Return Account Holder Name matching up to five separate cells.

#### Funktion

##### New Member
Hi Gang,

I have a worksheet with two tabs; one is a Summary of charges per account, and the other contains all of the Charges on all of the accounts.

The account numbers are comprised of up to five separate segments. Those segments are in columns A, B, C, D, and E on both tabs.

There will always be something in column A.
There will always be something in column B.
Columns C, D and E may or may not contain numbers. There could be one, two or all three of them populated on various accounts.

Each account has a corresponding Account Holder Name, which resides on the Summary tab.

For each individual charge listed on the Charges tab, I want to have Excel find the appropriate account holder's name on the Summary tab and bring it into column H on the Charges tab.

I tried an Index and Match (which is not my comfort zone) and it wants to spill and doesn't work... Here's the formula I tried
=INDEX(Summary!G3:G10,MATCH(Summary!A3:A10&Summary!B3:B10&Summary!C3:C10&Summary!D3:D10&Summary!E3:E10,0))

Not sure what approach to take on this one. Any advice would be greatly appreciated.

#### Attachments

• Dummy Data for Funktion 2 - Summary.png
56.2 KB · Views: 10
• Dummy Data for Funktion 2 - Charges.png
104.8 KB · Views: 10

### Excel Facts

Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

#### Fluff

##### MrExcel MVP, Moderator
Excel Formula:
=IF(A3="","",FILTER(Summary!\$G\$3:\$G\$10,(Summary!\$A\$3:\$A\$10=A3)*(Summary!\$B\$3:\$B\$10=B3)*(Summary!\$C\$3:\$C\$10=C3)*(Summary!\$D\$3:\$D\$10=D3)*(Summary!\$E\$3:\$E\$10=E3),""))

#### Funktion

##### New Member
Excel Formula:
=IF(A3="","",FILTER(Summary!\$G\$3:\$G\$10,(Summary!\$A\$3:\$A\$10=A3)*(Summary!\$B\$3:\$B\$10=B3)*(Summary!\$C\$3:\$C\$10=C3)*(Summary!\$D\$3:\$D\$10=D3)*(Summary!\$E\$3:\$E\$10=E3),""))
Thanks again, Fluff! It's working beautifully. Thanks for the quick reply.

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
9
Views
559
Replies
1
Views
200
Replies
1
Views
630
Replies
1
Views
124
Replies
18
Views
734

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,225
Messages
5,768,920
Members
425,504
Latest member
bramblepants

### 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.

### Which adblocker are you using?

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

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