+ Reply to Thread
Results 1 to 8 of 8

How to sum cel if condition is true

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Panamá
    MS-Off Ver
    Excel 2007
    Posts
    8

    How to sum cel if condition is true

    Hi,

    I have a chart with line of products, items by line and validation by line of product.

    My idea is that if the validation is true (verdadero) then at the en the value of the cell will get added to those others that have a validation =true, but if any other validation of product line is false (falso) then that value will not be added to the final result.

    i just need the formula that will make the addition work bellow an image of the chart, on top you see the validation bello teh product line and to the left the items or products.

    chartvalid.JPG




    thanks for the help

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to sum cel if condition is true

    Try something as:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-11-2013
    Location
    Panamá
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to sum cel if condition is true

    Hi Zbor,

    the formula is not working

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to sum cel if condition is true

    Upload example workbook and write expected result

  5. #5
    Registered User
    Join Date
    06-11-2013
    Location
    Panamá
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to sum cel if condition is true

    validation---> true true false
    item prod-line1 prod-line2 prod-line3 total
    item1 2 3 4 5
    item2 6 7 8 13
    item3 5 4 3 9

    Every time a column validation is true the value of teh item will be added at the en on the total column in the same way if te validation is false that value will not be added in the total column.

    For example in for item1 only the values 2 and 3 are being added because the last validation is false.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to sum cel if condition is true

    So what's problem with above formula?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-11-2013
    Location
    Panamá
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to sum cel if condition is true

    ok,

    restarted the pc and it worked perfectly.

    Thanks

    it works because the true=1 and the false=0 right?

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to sum cel if condition is true

    Yes, with other words it wouldn't work (all other words are like false, only true is true).

+ 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