+ Reply to Thread
Results 1 to 5 of 5

Please help : Sum of column based on multiple criteria

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    mumbai
    MS-Off Ver
    Excel 2010
    Posts
    23

    Please help : Sum of column based on multiple criteria

    Please find my excel sheet. i had explain query in it.
    i m unable to solve it. its just a example. my data sheet is very big .

    Please help
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Please help : Sum of column based on multiple criteria

    Just sort the E6:H9 Data based on Column E data

    Apply the below formula in C5 cell

    =IFERROR(SUM(OFFSET($F$5,MATCH($B5,$E$6:$E$9,0),,LOOKUP(2,1/(E6:E9=B5),ROW(E6:E9)-MIN(ROW(E6:E9))+1),MATCH(C$4,$F$5:$H$5,0))),"")

    Drag it down…

    But better approach is use Pivot Table


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Please help : Sum of column based on multiple criteria

    try this...
    =SUMIF($E$6:$E$9,B5,OFFSET(E5,1,MATCH($C$4,$E$5:$H$5,0)-1,COUNTA($E$5:$E$9,0)))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    12-06-2012
    Location
    mumbai
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Please help : Sum of column based on multiple criteria

    thanks both of you.
    its really helpful

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Please help : Sum of column based on multiple criteria

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and thanks for the feedback

+ 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. copying multiple rows based on column criteria
    By harrydnyc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2016, 06:08 PM
  2. Replies: 7
    Last Post: 06-25-2013, 07:15 PM
  3. [SOLVED] Calculate SUM based on multiple criteria (row and column)
    By Flyinace2000 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-29-2012, 12:33 PM
  4. Summing Values in column based upon multiple criteria
    By shantanuk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2012, 09:29 AM
  5. multiple column sum product based on set criteria
    By b16dlg in forum Excel General
    Replies: 4
    Last Post: 07-11-2012, 07:51 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