multiple VLOOKUP funtions

krman

New Member
Joined
Aug 17, 2005
Messages
16
Hello
I have been used to writing single value VLOPUP funtions but having issue when there are multiple values to the same main condition
I have 2 TABS in excel
TAB 1 have client name and some values under it.. TAB2 has the client name and multiple people covering it.. Now if I write a VLOOKUP it only catching the firts name..
This is how the TABS are set

TAB 1

Client Name Cleint ID $ Value
ssss 12536 10

TAB 2
Client Name Covering person
ssss John
ssss mike

I have 100's of clients and covering person

I have to add a VLOOPUP formaul in TAB1 which added the covering people next to the client name

Client Name Cleint ID $ Value Covering person
ssss 12536 10 John, Mike

I appreacite your help
Thanks
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
krman said:
Hello
I have been used to writing single value VLOPUP funtions but having issue when there are multiple values to the same main condition
I have 2 TABS in excel
TAB 1 have client name and some values under it.. TAB2 has the client name and multiple people covering it.. Now if I write a VLOOKUP it only catching the firts name..
This is how the TABS are set

TAB 1

Client Name Cleint ID $ Value
ssss 12536 10

TAB 2
Client Name Covering person
ssss John
ssss mike

I have 100's of clients and covering person

I have to add a VLOOPUP formaul in TAB1 which added the covering people next to the client name

Client Name Cleint ID $ Value Covering person
ssss 12536 10 John, Mike

I appreacite your help
Thanks

If you download and install the free morefunc.xll add-in:

=SUBSTITUTE(MCONCAT(IF(ClientNameRange=Client,","&CoveringPersonRange,"")),",","",1)

which needs to be confirmed with control+shift+enter, not just with enter.
 
Upvote 0
=SUBSTITUTE(MCONCAT(IF(Sheet1!$B$1:$B$26417='Original File'!B2,","&Sheet1!D$1:D$26417,"")),",","",1)

Thanks a lot..
is there something I am missing in the fromula as it is not working
T
K
 
Upvote 0
krman said:
=SUBSTITUTE(MCONCAT(IF(Sheet1!$B$1:$B$26417='Original File'!B2,","&Sheet1!D$1:D$26417,"")),",","",1)

Thanks a lot..
is there something I am missing in the fromula as it is not working
T
K

I think that's a huge range for this formula. BTW, what happens exactly as "is not working" does not tell much?
 
Upvote 0
krman said:
Thanks !.. I get a NAME funtion error.. is there any other way to do this
T
K

You get that error because you don't have the morefunc.xll add-in.

You need indeed a different way for the formula I offered won't be efficient with that big data range that you have.
 
Upvote 0

Forum statistics

Threads
1,214,887
Messages
6,122,095
Members
449,064
Latest member
Danger_SF

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