+ Reply to Thread
Results 1 to 4 of 4

Formula to find a Match and return row data to cells.

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formula to find a Match and return row data to cells.

    Hi folks
    In the attached Workbook sample I have 2 active sheets, 'Results' and 'Log'.

    In Sheet 'Log' Col D I want to look for a match in 'Results' Col B and if a match is found I want to return the corresponding row cell values as shown, into Sheet 'Log'.

    So as an example 'Log' D3 has Tom, we search for Tom in Results Col B, a match is found so in 'Log' Tom would have 'L' returned from F2 into I3 and so on.

    I have set out the layouts exactly as they will be in the actual Workbook so that I will not have to change the formula's.

    Reason for the data not being in the same order on both sheets is that the data is returned from separate programs at different times in different layouts.

    Hope that is explained okay.

    Cheers
    Hammer
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula to find a Match and return row data to cells.

    hi Hammer. you could use:
    =INDEX(Results!I:I,MATCH($D2,Results!$B:$B,0))

    change the red portion to the columns you want.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Formula to find a Match and return row data to cells.

    there you go
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to find a Match and return row data to cells.

    Both brilliant, thank you so very much.

    Cheers
    Hammer

+ 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: 9
    Last Post: 07-22-2015, 03:32 PM
  2. [SOLVED] Formula or Macro to return a value if cells match
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-20-2013, 12:51 PM
  3. Replies: 0
    Last Post: 05-22-2013, 04:40 AM
  4. Formula Needed to Match and Return Data from a Different Sheet
    By gunk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-25-2012, 08:35 PM
  5. Formula to find text on a page and return that cells name.
    By Kevin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-02-2005, 10:05 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