+ Reply to Thread
Results 1 to 6 of 6

Search a value then return a certain value from the separate sheet

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    manila,philippines
    MS-Off Ver
    Excel 2010
    Posts
    39

    Question Search a value then return a certain value from the separate sheet

    Hi! Thank You for your advance help.

    Here is my problem. I have a sheet named formula the column highlighted in orange will be used in searching to the other sheet which is the table, I try to used the formula VLOOKUP but it didnt work. Please Help. Thanks!
    Attached Files Attached Files

  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,946

    Re: Search a value then return a certain value from the separate sheet

    You have posted this in the Access forum, but it seems to be an excel question. I will move it for you, PM me if i was mistaken
    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,946

    Re: Search a value then return a certain value from the separate sheet

    OK try this in A1, copied down and across...
    =IFERROR(INDEX(TABLE!$A:$C,MATCH(Formula!$D3,TABLE!$D:$D,0),COLUMN(A$1)),"")

    For VLOOKUP() to work, the column with the criteria in it, must be in the 1st column of the range, vlookup() cannot look "behind" itself

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Search a value then return a certain value from the separate sheet

    Try in A3:
    =INDEX(TABLE!A$1:A$51,MATCH(Formula!$D3,TABLE!$D$1:$D$51,0))
    drag across.
    Quang PT

  5. #5
    Registered User
    Join Date
    03-11-2014
    Location
    manila,philippines
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Search a value then return a certain value from the separate sheet

    Thank for your help it works.

  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
    52,946

    Re: Search a value then return a certain value from the separate sheet

    Thanks for the feedback

+ 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: 4
    Last Post: 08-23-2013, 10:59 AM
  2. [SOLVED] How to search for text within a column and return a value in a separate column
    By hulayogi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-19-2013, 10:34 PM
  3. [SOLVED] use 2 values on sheet 1 to search sheet 2 & return text on sheet 1
    By BlakeLee in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-02-2013, 04:56 PM
  4. Replies: 3
    Last Post: 08-16-2012, 03:25 PM
  5. Complex Micro/Formula to Search from one sheet and Return Value on other sheet
    By atthershabbir in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2012, 12:57 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