+ Reply to Thread
Results 1 to 3 of 3

Find and compare values in a sheet.

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    52

    Find and compare values in a sheet.

    Hi Everyone

    I need a formula that will look at a entire work sheet find a name, then find a date, and display a string from a cell in the date row.


    for example I want it to first find all the rows that has "Jane Doe", then find a specific date from those rows, and then display a value from a cell in that row. Keep in mind that the there will be no consistency with the row data, but the column's are static.

    help any idea's?

    Example.jpg

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

    Re: Find and compare values in a sheet.

    welcome to the forum, JonesyCC. it's always better if you can upload a sample file instead of a picture. that way, we don't have to re-create your scenario to test it out. i guess you can use this formula in M3:
    =IFERROR(INDEX($H$4:$H$100,MATCH(M$2&$L3,INDEX($C$4:$C$100&$D$4:$D$100,),0))&"","")

    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 Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find and compare values in a sheet.

    Here's another one...

    Enter this array formula** in M4:

    =IFERROR(T(INDEX($H$4:$H$9,MATCH(M$2,IF($D$4:$D$9=$L4,$C$4:$C$9),0))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy across to N4 then down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. How to compare values with .Find function
    By olafson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2013, 11:48 AM
  2. [SOLVED] find code# from sheet 1 on sheet 2, compare value on sheet 1 with value on sheet 2
    By BlakeLee in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-27-2013, 01:52 PM
  3. Compare 2 Sheets to Find Different Values
    By MotoDave in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-24-2012, 03:48 AM
  4. Replies: 11
    Last Post: 11-03-2011, 09:18 PM
  5. Find and compare values
    By gtserkou in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-29-2008, 10:14 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