+ Reply to Thread
Results 1 to 4 of 4

help with summing with conditions

  1. #1
    Registered User
    Join Date
    05-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2010
    Posts
    2

    help with summing with conditions

    Hi, I have a "simple" problem, but I can't find a solution on my own, I have a list like this:

    A B C D
    aa 100 x 2
    bb 200 y 3
    cc 300 y 5
    dd 400 x 4

    and I want to use a function that will sum contents of D when C equals "x", I have been trying using IF/COUNTIF/SUM etc but this is too advanced for me. THX for any help.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,290

    Re: help with summing with conditions

    Welcome to the forum; nearly there:

    =SUMIF(C:C,"x",D:D)

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-19-2012
    Location
    Slovakia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: help with summing with conditions

    Wow, thanks, works perfect, there are lots of similar functions so its quite confusing, thanks again.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,290

    Re: help with summing with conditions

    You're welcome.

+ 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