+ Reply to Thread
Results 1 to 6 of 6

Vlookup different values into one value

  1. #1
    Registered User
    Join Date
    03-11-2024
    Location
    Serbia
    MS-Off Ver
    2019
    Posts
    2

    Vlookup different values into one value

    Good day all,

    First post, this one is giving me a lot of trouble, and is very important for me to figure out a solution,

    Basically I need to put all the values from column 2 (photo1) into one row (photo2) using formulas - this the part I do not know how to create. End result I require is to combine this values that are now in one row, into a text (I basically need one comment that is summarizing all the different information which are linked to one same value - in my example, I need to combine all yellow Texts, into one comment related to value "A")
    Colors are provided just for clarification.
    1.JPG
    2.JPG

    End result required:
    3.JPG

    If there are any solution, please advise,
    Excel file also is attached, if easier, You can just dump the formula inside that file, and I will figure out the rest,

    Thanks in advance,
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Vlookup different values into one value

    Use this in S4:

    =TEXTJOIN("&",TRUE,FILTER($F$4:$F$29,($E$4:$E$29=R4)))

    And extend formula down...

    this solution doesn't require helper table (I to P columns).
    Last edited by zbor; 03-11-2024 at 10:32 AM.

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,498

    Re: Vlookup different values into one value

    Cell J5 formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-11-2024
    Location
    Serbia
    MS-Off Ver
    2019
    Posts
    2

    Re: Vlookup different values into one value

    -zbor
    For some reason I do not have "Filter" function, only "FilterXML" and it is not working

    -wk9128
    The result is either blank, or all the values from column2 (for either of the letter A, B, C, D, E)

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Vlookup different values into one value

    FILTER first appeared in Excel 2021.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Vlookup different values into one value

    Quote Originally Posted by Bozovicdj View Post
    The result is either blank, or all the values from column2 (for either of the letter A, B, C, D, E)
    Looks OK for me.
    Do you use good reference for Value1 criteria?
    R10, or in wk9128's I5 is reference to A,B,C...

    =TEXTJOIN("&";;IF($E$4:$E$29=$R10;$F$4:$F$29;""))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 11-10-2021, 07:59 PM
  2. Replies: 13
    Last Post: 10-13-2014, 02:00 AM
  3. Replies: 1
    Last Post: 04-30-2014, 05:49 PM
  4. [SOLVED] Vlookup is not working and giving =vlookup(B2,$T$2:$U$135,2,false) this kind of values.
    By yogeshsharma1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 04:08 PM
  5. Replies: 3
    Last Post: 04-24-2013, 05:33 PM
  6. Replies: 1
    Last Post: 04-24-2013, 05:21 PM
  7. Replies: 2
    Last Post: 09-14-2010, 10:49 PM

Tags for this Thread

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