+ Reply to Thread
Results 1 to 5 of 5

Help with Vlookup - maybe?

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    4

    Help with Vlookup - maybe?

    *SEE BELOW POST FOR ATTACHED EXCEL FILE*
    I have a spreadsheet with a column of survey ID's. These survey ID's have the option of having multiple designations in another column. Each of those designations has a letter attached that means something to me. I would like to order them into a row for each instance of a survey ID. The example below will be easier to understand, I think. Example:

    excel example.jpg

    The data in C_SurveyID and SealCondition comes from an access database that I cannot change. I want to take the data from the SealCondition column and map it to Pipe1, Pipe2, Pipe3 based on the C_SurveyID occurrence (first occurrence = pipe1, second occurrence = pipe2) and have it fall under the correct Survey ID row.
    Last edited by higginac; 04-28-2016 at 01:51 PM.

  2. #2
    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
    52,933

    Re: Help with Vlookup - maybe?

    This thread is marked as Solved. Did you solve this or should I remove that claim?
    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

  3. #3
    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
    52,933

    Re: Help with Vlookup - maybe?

    Also, if this is not Solved, consider upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

  4. #4
    Registered User
    Join Date
    04-28-2016
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: Help with Vlookup - maybe?

    Book1.xlsx

    Attached is the excel file

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Help with Vlookup - maybe?

    Hi -

    You should be able to copy this formula into cell B2.

    =IFERROR(INDEX($I$2:$I$31,SMALL(IF($A2=$H$2:$H$31,ROW($H$2:$H$31)-ROW($H$2)+1),COLUMN(A:A))),"")

    Click in the editor window and press Ctrl-Shift-Enter at the same time to create the Array Formula. If you do it correctly, Excel will add curly braces {} to the formula. Then copy down and over.

    Hope this helps!
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

+ 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. [SOLVED] When vlookup ragnes is mutiple: How do vlookup value finding occurrence against coresspond
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 34
    Last Post: 07-07-2015, 09:32 AM
  2. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  3. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 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. how to bring all vlookup returns even with duplicate vlookup search keys
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2013, 04:53 PM
  6. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  7. Replies: 5
    Last Post: 07-29-2009, 07:53 AM

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