+ Reply to Thread
Results 1 to 4 of 4

Summation of values based on 2 criteria

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Summation of values based on 2 criteria

    Dear all,


    My apologies I am finding this hard to explain, but here we go:

    I have a sheet (attached) where I want the column 'I" populated in rows 3 - 43 with the sum of all the 'I' values from rows 50 - 54 have a corresponding 'D' in column G. Each of the rows from 3 - 43 has a code (A0, A50, A100.......) which are to be entered into cells K50 - K54 by the user.

    So by way of example, I5 should return 1 instead of 21. It is returning 21 because it is also including the data from I51. This should not be included because cell
    G51 contains a w not a d.

    please see attached sheet.

    many thanks.
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Summation of values based on 2 criteria

    Try SUMIFS

    =SUMIFS($I$50:$I$54,$G$50:$G$54,"d",$K$50:$K$54,D5)
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    02-11-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Summation of values based on 2 criteria

    That does the trick! thanks very much.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Summation of values based on 2 criteria

    You're welcome. 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)

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