+ Reply to Thread
Results 1 to 5 of 5

Lookup? Index? Match?

  1. #1
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Frederick, MD, USA
    MS-Off Ver
    Excel 2007
    Posts
    125

    Lookup? Index? Match?

    This should be easy, but my brain's not working to par.

    I'm having trouble using the MAX of one column of numbers to find another number in the same row. I know I should know this, but I can't make it work...

    Additionally, I then want to sum all numbers LESS than that, and another sum of all numbers GREATER than that. But I can;t play around with it to figure it out until I get the lookup fixed.

    Please help a poor dummy...

    Sample sheet attached.
    Attached Files Attached Files
    Last edited by Gunther Maplethorpe; 06-22-2011 at 03:40 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Lookup? Index? Match?

    Hello, try;

    F17,

    =INDEX(A2:A10,MATCH(F16,B2:B10,0))

    F18,

    =SUMIF(A2:A10,"<"&F17,B2:B10)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Lookup? Index? Match?

    Hi
    Almost there

    F17
    =INDEX(A2:A10,MATCH(F16,B2:B10,0))

    F18
    =SUMIF(A2:A10,"<"&F17,B2:B10)
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Lookup? Index? Match?

    Lookup needs sorted numbers use
    =INDEX(A2:A10,MATCH(E16,B2:B10,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Frederick, MD, USA
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Lookup? Index? Match?

    Looks like all three of you had the same answer, and posted almost simultaneously. Thanks bunches to all of you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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