+ Reply to Thread
Results 1 to 18 of 18

VLookup on a Cell has multiple values

Hybrid View

  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    VLookup on a Cell has multiple values

    please i need help and god bless all of you

    vlook up.xlsx

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    yes that can be done you need to use VBA for that first copy paste first code below
    http://www.excelforum.com/tips-and-t...geravatar.html

    then use copy paste below formula in G3 then hold control and shift together and then hit enter to make it array formula
    =ConcatAll(TRIM(IF($A$2:$A$5=TRANSPOSE(TRIM(MID(SUBSTITUTE(","&$E3,",",REPT(" ",255)),255*(ROW(INDIRECT("1:"&LEN($E3)-LEN(SUBSTITUTE($E3,",",""))+1))),255))),$B$2:$B$5,"")),CHAR(10))
    Last edited by hemesh; 05-14-2014 at 02:54 PM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    Thank you for helping me
    Please check my attached file
    Because this the original file


    vlook up activity aaa.xlsm

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    select the cell with your formula the press F2 key, Now hold control and shift together and then hit enter to make it array formula.

  5. #5
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    thank you
    god bless you

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: VLookup on a Cell has multiple values

    I notice that the file you uploaded indicates 2007 or later (.xlsx), but your profile says 2003. Please update your profile as necessary, members tailor questions based on your excel version
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    when I try on me excel program version 2013
    It is not working and I steel need it for my job because I have more than hundreds of activity need to use Vlookup
    And I try
    (Select the cell with your formula the press F2 key, now hold control and shift together and then hit enter to make it array formula.)
    Also not working

  8. #8
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    can you please show a sample book.

  9. #9
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    excelforum sample.xlsx
    please see attached file and help me
    god bless you

  10. #10
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    copy first code from below link
    http://www.excelforum.com/tips-and-t...geravatar.html
    then open your excel file, Press Alt + F11 --> this will open VB Editor---> at the top click Insert--> click module. Paste the code here, Then in your workbook.
    use below formula.

    =ConcatAll(TRIM(IF(TRIM($B$2:$B$2931)=TRANSPOSE(TRIM(MID(SUBSTITUTE(","&$D2,",",REPT(" ",255)),255*(ROW(INDIRECT("1:"&LEN($D2)-LEN(SUBSTITUTE($D2,",",""))+1))),255))),$C$2:$C$2931,"")),CHAR(10)) and Drag down.

  11. #11
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    god bless you

    it is working
    and you save me a lot of time

  12. #12
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    You are welcome.

  13. #13
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    Hi
    Is there any way to outline excel data automatically
    In the attached excel sheet

    excelforum sample.xlsx

  14. #14
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    what sort of outlining you are looking for. When you use any VBA code you need to save file as macro enabled workbook.

  15. #15
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    It allow me to make large quantities of data minimizable so that complex spreadsheets are easier to navigate
    And easy to control and manage and make presentation
    outline excel data automatically.xlsx

  16. #16
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    select A2 to A3000, go to conditional formatting ---> click new rule--->select use a formula to determine which cells to format.

    In formula box copy paste below =NOT(ISNUMBER(RIGHT(TRIM($B2),1)+0))

    then click the format option at the bottom --> go to FILL Tab select the desired color click OK.

  17. #17
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: VLookup on a Cell has multiple values

    Hi
    Thank you for your help
    God bless you
    Please see my attached excel
    And this what I need but automatically not manual

    test outline.xls

  18. #18
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: VLookup on a Cell has multiple values

    You need to use VBA for the same. I suggest you to start a new thread in the VBA Questions. Moreover if your actual query with this thread is solved then you can mark thread as solved.

+ 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. Vlookup to find one value in a cell that has multiple values
    By Riggs18 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2013, 12:07 PM
  2. Vlookup Multiple Return values in same cell
    By xcrobset in forum Excel General
    Replies: 1
    Last Post: 07-03-2012, 10:24 AM
  3. Vlookup return multiple values in one cell
    By LauraN1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2011, 08:19 AM
  4. Vlookup multiple values within a cell? is it possible?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2008, 11:33 AM
  5. vlookup, multiple values, sum values into one cell??
    By Phillips L in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2005, 08:35 PM

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