+ Reply to Thread
Results 1 to 5 of 5

help with index/match or lookup

  1. #1
    Registered User
    Join Date
    06-25-2013
    Location
    PH
    MS-Off Ver
    Excel 2003
    Posts
    16

    help with index/match or lookup

    Ello!

    Need help with this problem

    i got 2 sheets, and i need to get the grnd total from sheet 2. How can i lookup/search on sheet two using the date and name on sheet 1.

    attach is a sample(name on sheet 1 not always 4) really need help thnks
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: help with index/match or lookup

    SUMPRODUCT

    Paste this in L2 and then copy downwards:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Sumproduct works best for looking up the combination of arrays where the end result is a number. For your data on Sheet1, L2, we are searching Sheet2A2:A9 for rows matching Sheet1A2, then for those only those matches we are searching Sheet2B2:B9 for rows matching B2, and for everything that's still a match we are adding up their corresponding rows for the Column S2:S9.

    In your example, there's only 1 thing to add up, but it still works fine.

    If you had 50 rows out of 1000 that matched both the date and name, it would sum their results instead.
    Last edited by daffodil11; 08-29-2013 at 02:37 PM.

  3. #3
    Registered User
    Join Date
    06-25-2013
    Location
    PH
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: help with index/match or lookup

    I'm sorry, what i mean is get the value of the cell in sheet 2 grand total.

    ex. im at sheet 1 i'll do a search using the date and name on sheet 1 to sheet two and get the value in the grand total column. like 8/1/2013 and cust A. then get the value on sheet 2 which is 4

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: help with index/match or lookup

    Yes, that's what I did. You're adding up all the matches on Sheet2 that correspond to date and name.

    Each combination only results in one match. One plus nothing, equals the match.


    In my first response I did not see your column out in N. Just plop the formula into N2 instead of L2. It works the same regardless.
    Last edited by daffodil11; 08-29-2013 at 04:14 PM.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: help with index/match or lookup

    Here's your finished example, with explanation.

    Attachment 261758

+ 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: 3
    Last Post: 06-17-2013, 12:37 PM
  2. Match/Index/Lookup - Searching From Bottom to Top (A reverse lookup maybe)
    By Neutralizer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2013, 03:55 AM
  3. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  4. Lookup/Index-Match-Match using segments
    By BRISBANEBOB in forum Excel General
    Replies: 11
    Last Post: 06-10-2009, 03:45 AM
  5. Using Lookup instead of Index/Match for left lookup
    By teylyn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2008, 09:20 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