PC Review


Reply
Thread Tools Rate Thread

comma seperated values using multiple vlookup

 
 
=?Utf-8?B?VGhlU25paXBl?=
Guest
Posts: n/a
 
      29th Mar 2007
Hello at the moment I have cells like this:

=VLOOKUP(B28,Generics!A3:AZ255,12,FALSE)
BCM200_10AGT
=VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
=VLOOKUP(B28,Generics!A3:AZ255,15,FALSE)
BCM50_KC0236

As you can see some contain values and others contain formula's to values.
At the moment I am getting the following to work:

BCM50_KC0236, BCM50_KC0237, BCM50_KC0238

but I would eventually like to get the same working for the above formula's.
Something like the following will not work:

=VLOOKUP(B28,Generics!A3:AZ255,15,FALSE),
VLOOKUP(B28,Generics!A3:AZ255,12,FALSE),
VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)

Which ideally would give me the values seperated by a comma.

Perhaps its not possible, can someone please let me know if its possible, or
am I just going about it all wrong.

It has to be like above in order to work with the code that is written (I
know I could just use more cells, but in this situation I need comma
seperated values a cell.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?c3R1bWFj?=
Guest
Posts: n/a
 
      29th Mar 2007
Hi, not sure if this is what you are looking for but you could try

=VLOOKUP(B28,Generics!A3:AZ255,15,FALSE)&",
"&VLOOKUP(B28,Generics!A3:AZ255,12,FALSE)&",
"&VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)

Hope this helps

Stu

"TheSniipe" wrote:

> Hello at the moment I have cells like this:
>
> =VLOOKUP(B28,Generics!A3:AZ255,12,FALSE)
> BCM200_10AGT
> =VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
> =VLOOKUP(B28,Generics!A3:AZ255,15,FALSE)
> BCM50_KC0236
>
> As you can see some contain values and others contain formula's to values.
> At the moment I am getting the following to work:
>
> BCM50_KC0236, BCM50_KC0237, BCM50_KC0238
>
> but I would eventually like to get the same working for the above formula's.
> Something like the following will not work:
>
> =VLOOKUP(B28,Generics!A3:AZ255,15,FALSE),
> VLOOKUP(B28,Generics!A3:AZ255,12,FALSE),
> VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
>
> Which ideally would give me the values seperated by a comma.
>
> Perhaps its not possible, can someone please let me know if its possible, or
> am I just going about it all wrong.
>
> It has to be like above in order to work with the code that is written (I
> know I could just use more cells, but in this situation I need comma
> seperated values a cell.

 
Reply With Quote
 
=?Utf-8?B?VGhlU25paXBl?=
Guest
Posts: n/a
 
      29th Mar 2007
stumac, ur a genius, thanks a million mate, that worked like a dream

"stumac" wrote:

> Hi, not sure if this is what you are looking for but you could try
>
> =VLOOKUP(B28,Generics!A3:AZ255,15,FALSE)&",
> "&VLOOKUP(B28,Generics!A3:AZ255,12,FALSE)&",
> "&VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
>
> Hope this helps
>
> Stu
>
> "TheSniipe" wrote:
>
> > Hello at the moment I have cells like this:
> >
> > =VLOOKUP(B28,Generics!A3:AZ255,12,FALSE)
> > BCM200_10AGT
> > =VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
> > =VLOOKUP(B28,Generics!A3:AZ255,15,FALSE)
> > BCM50_KC0236
> >
> > As you can see some contain values and others contain formula's to values.
> > At the moment I am getting the following to work:
> >
> > BCM50_KC0236, BCM50_KC0237, BCM50_KC0238
> >
> > but I would eventually like to get the same working for the above formula's.
> > Something like the following will not work:
> >
> > =VLOOKUP(B28,Generics!A3:AZ255,15,FALSE),
> > VLOOKUP(B28,Generics!A3:AZ255,12,FALSE),
> > VLOOKUP(B28,Generics!A3:AZ255,14,FALSE)
> >
> > Which ideally would give me the values seperated by a comma.
> >
> > Perhaps its not possible, can someone please let me know if its possible, or
> > am I just going about it all wrong.
> >
> > It has to be like above in order to work with the code that is written (I
> > know I could just use more cells, but in this situation I need comma
> > seperated values a cell.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query on Comma Seperated Values =?Utf-8?B?VGluYQ==?= Microsoft Access 4 31st Jan 2007 07:31 AM
Find the sum of Comma Seperated Values In a Cell xcelion Microsoft Excel Worksheet Functions 2 24th Aug 2005 07:55 AM
Sum of comma seperated values in cell(Reposting) xcelion Microsoft Excel Worksheet Functions 3 22nd Aug 2005 01:16 PM
column values to a cell with comma seperated =?Utf-8?B?UmFqdSBCb2luZS4=?= Microsoft Excel Worksheet Functions 3 27th Jul 2005 03:30 PM
Importing comma seperated values to a DataSet Joe Microsoft Dot NET Framework 1 27th Mar 2004 03:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:42 PM.