+ Reply to Thread
Results 1 to 6 of 6

Table lookup & return of concatenated string from Row

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    Rockland, WI
    MS-Off Ver
    Excel 2016
    Posts
    56

    Table lookup & return of concatenated string from Row

    What would be the VBA syntax to find a “key” in table column “A” and return a concatenated string : (“ColumnA” & “ColumnD” & “ColumnB”) from the row the key is found in?
    Last edited by jdfjab; 03-26-2012 at 04:25 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Table lookup & return of concatenated string from Row

    I think you probably need to combine 3 vlookups in the result cell
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    Rockland, WI
    MS-Off Ver
    Excel 2016
    Posts
    56

    Re: Table lookup & return of concatenated string from Row

    Can you give me an example of the syntax to use vlookup in Vba?

    Thx

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Table lookup & return of concatenated string from Row

    Why do you need VBA for this? What are you doing exactly?

  5. #5
    Registered User
    Join Date
    01-12-2012
    Location
    Rockland, WI
    MS-Off Ver
    Excel 2016
    Posts
    56

    Re: Table lookup & return of concatenated string from Row

    I need to duplicate an existing pricing matrix printout (See Worksheet("Printout to Duplicate")
    I have the code written to Get the pricing "records" see worksheet("PrcType"), but the report is a Concatenation of values from worksheet("master'), not the price record itself.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-12-2012
    Location
    Rockland, WI
    MS-Off Ver
    Excel 2016
    Posts
    56

    Re: Table lookup & return of concatenated string from Row

    Got it, thanks.
    I used:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1