+ Reply to Thread
Results 1 to 9 of 9

Sum index

Hybrid View

  1. #1
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Cool Sum index

    Dear Experts,
    Please find the attached excel sheet here, there i have put a formula to calculate the particular amount based on the code, but its not working , So-
    can any one give an ideas based on Sum & Index & match.

    Thnx
    Attached Files Attached Files

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Sum index

    You could do it this way:

    =SUM(SUMIFS(C:C,A:A,J6,B:B,E7),SUMIFS(C:C,A:A,J7,B:B,E7),SUMIFS(C:C,A:A,J8,B:B,E7))

    or

    =SUM(SUMIFS(C:C,A:A,{"B","D","F"},B:B,E7))
    Last edited by Cutter; 06-24-2012 at 04:28 PM. Reason: Added alternative

  3. #3
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Sum index

    @ Cutter...Can u give an ideas based on Sum-Index-Match ?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Sum index

    I can give this alternative:

    =SUMPRODUCT((ISNUMBER(MATCH(A2:A36,J6:J8,0)))*(B2:B36=E7),C2:C36)

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Sum index

    Or this array formula:

    =SUM(IF(ISNUMBER(MATCH(A2:A36,J6:J8,0))*(B2:B36=E7),C2:C36))

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Sum index

    i could not understand the fixation with SUM/INDEX/MATCH? what is the reason? i hope it is not some "homework" requirement... i dislike doing someone else's homework.

    see if this satisfies your requirement:

    Cell F7:

    =SUM(INDEX((--(ISNUMBER(MATCH(A2:A36,J6:J8,0))))*(B2:B36=E7)*(C2:C36),0))
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  7. #7
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Sum index

    @Icestationzbra.....Great Thnku
    @Cutter .....Thnk u

  8. #8
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Sum index

    you did not say why the specific need for SUM / INDEX / MATCH!

  9. #9
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Sum index

    @Ice....
    M really sorry for the late reply, we have very large data base in the related xcl sheet, and when we use SUMPRODUCT OR SUMIFS it takes much time to give answer while make small changes,
    because of this reason only, we have selected the SUM INDEX and MATCH.

    rGRDS.

+ 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