+ Reply to Thread
Results 1 to 6 of 6

Index and Sumproduct problem

  1. #1
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    Index and Sumproduct problem

    HI, I would like to use index and sumproduct for the attached excel but not work. Please help to advise, thanks.

    INDEX($A$3:$E$3,SUMPRODUCT(($B$4:$E$5=H2)*(ROW($A$4:$A$5)-2)))
    Attached Files Attached Files
    Last edited by missbb; 05-26-2020 at 06:46 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,354

    Re: Index and Sumproduct problem

    The formula is intended to work with exact matches, not partial ones.

    You need to explain what you are trying to do, as your set-up is completely different.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Index and Sumproduct problem

    Try:
    Please Login or Register  to view this content.
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Quang PT

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Index and Sumproduct problem

    to avoid risk of false positives - e.g. Paul and Pauline -- it's a good idea to delimit both criteria (I3 etc) and source range, i.e.

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

  5. #5
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    Re: Index and Sumproduct problem

    Hi, AligW, I want to insert the "rank" at I2:I8 for staff H2:H8 from the table (B4:E5), staff ranking row B3:E3 (i.e. 1,2,3 or 4). However, like cell C4, some cell will have over 1 staff group together.

  6. #6
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    Re: Index and Sumproduct problem

    Dear Bebo021999 and XLent, thank you very much and I have learn a lot of excel techniques.

+ 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. [SOLVED] Use Weekday function with (Countif Sumproduct, +Index) also If(IsError(search(mid +Index
    By Brian.Aerojet in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-09-2018, 06:16 AM
  2. [SOLVED] =INDEX and SUMPRODUCT
    By josvill in forum Excel General
    Replies: 13
    Last Post: 02-14-2017, 06:36 AM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. SUMPRODUCT and INDEX
    By goose7498 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2014, 03:27 PM
  5. Replies: 6
    Last Post: 05-28-2013, 05:08 PM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. Sumproduct(index
    By jw01 in forum Excel General
    Replies: 8
    Last Post: 07-28-2011, 01:38 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