Return Account Holder Name matching up to five separate cells.

Funktion

New Member
Joined
Mar 25, 2016
Messages
31
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
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))

I'm uploading images of the two tabs (can't download XL2BB on this computer).

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

Attachments

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

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
How about
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),""))
 
Upvote 0
Solution
How about
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.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,183
Members
448,872
Latest member
lcaw

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