+ Reply to Thread
Results 1 to 8 of 8

Sum with Multi Criteria in Multi Column

  1. #1
    Registered User
    Join Date
    05-31-2006
    Location
    Quezon City- I.T. Capital of the philippines
    Posts
    13

    Sum with Multi Criteria in Multi Column

    Good day!
    Need some help here how to construct formula for summing data in my worksheet, with multiple criteria, per criteria has corresponding column to look in. I use vlookup to list then combine with the range number but it gives me an error. Thanks.
    Attached Files Attached Files

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

    Re: Sum with Multi Criteria in Multi Column

    I don't understand your attempted formula. I can see that you want to lookup E4 in column A, and then sum column Q, but based on what in between?
    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.

  3. #3
    Registered User
    Join Date
    10-25-2008
    Location
    Mount Joy, PA
    MS-Off Ver
    2003
    Posts
    44

    Re: Sum with Multi Criteria in Multi Column

    Except for missing the INDIRECT function and a lot of unneeded parentheses, this should work.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: Sum with Multi Criteria in Multi Column

    Try this,

    =SUMIF(INDEX(A10:C39,,MATCH(VLOOKUP(E4,List!F5:G49,2,FALSE),{"A","B","C"},0)),E4,Q10:Q39)

    Regards.

  5. #5
    Registered User
    Join Date
    05-31-2006
    Location
    Quezon City- I.T. Capital of the philippines
    Posts
    13

    Re: Sum with Multi Criteria in Multi Column

    Quote Originally Posted by NBVC View Post
    I don't understand your attempted formula. I can see that you want to lookup E4 in column A, and then sum column Q, but based on what in between?
    Actually Sir, my main goal is to sum total in reference of E4 with cut off of E3. To ease up, I put formula in my Total column "Q" column then separate with formula criteria in E7,F7 & G7.
    Last edited by markuss; 02-28-2010 at 10:45 AM.

  6. #6
    Registered User
    Join Date
    05-31-2006
    Location
    Quezon City- I.T. Capital of the philippines
    Posts
    13

    Re: Sum with Multi Criteria in Multi Column

    Thank you whallgren and sailepaty. Both formula work. My challenge now is to incorporate the cut-off and criteria formula for both Sumif and Sumproduct functions in E7, F7, G7.

  7. #7
    Registered User
    Join Date
    01-24-2009
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    61

    Re: Sum with Multi Criteria in Multi Column

    hi markuss,

    Actually Sir, my main goal is to sum total in reference of E4 with cut off of E3. To ease up, I put formula in my Total column "Q" column then separate with formula criteria in E7,F7 & G7.
    on the whole what i understand you are trying to achieve is,

    in e7 you want the total of points of delta(e4) from jan to october(e3) scored in 1st sem
    in f7 same as above except that its for 2nd sem

    you have done that by yourself.
    in g7 if you only want the total of points scored by delta(e4) from jan to october in both the sem why dont you just add e7 and f7?

  8. #8
    Registered User
    Join Date
    05-31-2006
    Location
    Quezon City- I.T. Capital of the philippines
    Posts
    13

    Re: Sum with Multi Criteria in Multi Column

    Quote Originally Posted by navwelch View Post
    hi markuss,



    on the whole what i understand you are trying to achieve is,

    in e7 you want the total of points of delta(e4) from jan to october(e3) scored in 1st sem
    in f7 same as above except that its for 2nd sem

    you have done that by yourself.
    in g7 if you only want the total of points scored by delta(e4) from jan to october in both the sem why dont you just add e7 and f7?
    I have to do it in separate ways, so I can learn how to do it in SUMPRODUCT and SUMIF functions. Also the total G7 served as checker of sum of E7 and F7. Now, I have to combine the criteria and cutoff date formula. This is to correct or revise my formula in "Q" column-It should be the total of all months not dependent with E3.

+ 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