+ Reply to Thread
Results 1 to 6 of 6

how to add all values above row that meet multiple criteria criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    10

    how to add all values above row that meet multiple criteria criteria

    r.png

    I want to add up all values above and including the row that meet two criteria. Unfortunately i cannot post a picture

    In this example i want to sum the values including and above the row that meets two criteria.

    So criteria in column A and B and want to sum the values located in column C

    anyone can help?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: how to add all values above row that meet multiple criteria criteria

    Please post a workbook with before and after data.

  3. #3
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: how to add all values above row that meet multiple criteria criteria

    What would be the expected result in G4
    Last edited by Ali Kırksekiz; 05-18-2015 at 08:03 AM.

  4. #4
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: how to add all values above row that meet multiple criteria criteria

    Hi,
    what if the 1st criteria =124 and 2nd criteria =30. What should be the sum range?
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: how to add all values above row that meet multiple criteria criteria

    Something like this might work But it is difficult to provide an answer without seeing your data

    =SUMPRODUCT(--($A$2:$A$10=E4),--($B$2:$B$10=F4),$C$2:$C$10)

    E4 and F4 contain the criteria to be matched in columns A and B respectively.

  6. #6
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: how to add all values above row that meet multiple criteria criteria

    This will work if I understand you description correctly...

    =SUM(C2:INDIRECT("C"&LARGE(INDEX((A2:A7=E4)*(B2:B7=F4)*ROW(C2:C7),0),1)))

    Result is 9:00

+ 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] Lookup Values which meet two or more criteria and return multiple matches horizontally
    By josetmg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2015, 01:16 AM
  2. Sum values in cells to meet a certain criteria
    By kwillis33 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-29-2013, 09:53 AM
  3. Counting unique values that meet multiple criteria
    By msworkman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2013, 11:15 PM
  4. Replies: 5
    Last Post: 03-13-2012, 06:05 AM
  5. Totalling up values that meet two criteria
    By johnmitch38 in forum Excel General
    Replies: 5
    Last Post: 06-04-2009, 05:49 AM

Tags for this Thread

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