Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Concatenate error/problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
blommerse@saz.nl - 20 Sep 2006 09:34 GMT
Hi All,

Who can help me with this problem>>??
I have to concatenate 5 items (and between all items an ", " (comma)),
which I let lookup from a list containing 24 rows.
This is what I'm using:
=CONCATENATE((VLOOKUP(B28,I30:N54,6,0)),",
",(VLOOKUP(B32,I30:N54,6,0)),", ",(VLOOKUP(B36,I30:N54,6,0)),",
",(VLOOKUP(B40,I30:N54,6,0)),", ",(VLOOKUP(B44,I30:N54,6,0)),".")

In some cases my lookup value is empty...
Now I get a #N/A error
How can I do this right.
Example: If all my lookup value are filled I get this: 1000, 2000,
3000, 4000, 5000.
If 4 off my lookup value are filled I have to get this: 1000, 2000,
3000, 4000.

Please who can help me>?

Regards,

Berry
Bob Phillips - 20 Sep 2006 10:41 GMT
=SUBSTITUTE(IF(ISNA(VLOOKUP(B28,I30:N54,6,0)),"",VLOOKUP(B28,I30:N54,6,0)&",
"&
IF(ISNA(VLOOKUP(B32,I30:N54,6,0)),"",VLOOKUP(B32,I30:N54,6,0)&", ")&
IF(ISNA(VLOOKUP(B36,I30:N54,6,0)),"",VLOOKUP(B36,I30:N54,6,0)&", ")&
IF(ISNA(VLOOKUP(B40,I30:N54,6,0)),"",VLOOKUP(B40,I30:N54,6,0)&", ")&
IF(ISNA(VLOOKUP(B44,I30:N54,6,0)),"",VLOOKUP(B44,I30:N54,6,0)))&".",",
.",".")

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Hi All,
>
[quoted text clipped - 19 lines]
>
> Berry
blommerse@saz.nl - 20 Sep 2006 13:52 GMT
Thanks Bob, Worked almost perfect.
Bob Phillips - 20 Sep 2006 14:17 GMT
Almost?

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Thanks Bob, Worked almost perfect.
Art MacNeil - 20 Sep 2006 15:50 GMT
I wondered the same thing.

> Thanks Bob, Worked almost perfect.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.