+ Reply to Thread
Results 1 to 6 of 6

Is there an alnernative to index match?

  1. #1
    Registered User
    Join Date
    10-05-2007
    Posts
    74

    Is there an alnernative to index match?

    OK,

    Please see attached - I am looking for the simplest possible formula to do the job. (For training purposes)

    I have the two yellow variants, and wish to return the green answer. The Part numbers can be in a random order and so can the columns.

    Many thanks :-)
    Attached Files Attached Files
    Last edited by Sordini; 07-13-2011 at 11:14 AM.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Is there an alnernative to index match?

    Hi, an alternative to cross-sum-if

    =SUMPRODUCT(($A$2:$A$5=C9)*($B$1:$F$1=D9)*$B$2:$F$5)
    =SUM(INDEX(($A$2:$A$5=C9)*($B$1:$F$1=D9)*$B$2:$F$5,))
    Hope it helps


    Edit. sorry, with my Excel I could see only yellows cells
    Attached Files Attached Files
    Last edited by canapone; 07-13-2011 at 09:15 AM.

  3. #3
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: Is there an alnernative to index match?

    You can use Vlookup function..

    from your sample workbook, your lookup value in Cell A4,
    then the formula =VLOOKUP(A4,A:E,5,0)

    Thanks

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Is there an alnernative to index match?

    If the search values are in C10 (Part 21) and C11 (6) then this is another alternative:

    =VLOOKUP(C10,$A$2:$F$5,MATCH(C11,$A$1:$F$1,0),0)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    10-05-2007
    Posts
    74

    Re: Is there an alnernative to index match?

    Ooohhh
    I like the VLOOKUP with MATCH....

    Though SUMPRODUCT has its merits for being a little easier to train to people

    Thank you so much for everything all!

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Is there an alnernative to index match?

    Note: Sumproduct on large tables can become less efficient...

+ 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