Sum formula with an IF statement

12/10/18 Edited 12/09/19

I've got 4 rows of data (and there will eventually be more). I'm trying to add up one column (Duration (in quarter hour increments)) IF another column (Program Bug) shows NO check in the checkbox field.

I put this formula together, but clearly I'm doing something wrong:

=if([Program Bug]4:[Program Bug]7=0,SUM([Duration (in quarter hour increments)]4:[Duration (in quarter hour increments)]7),[0])

Help from the experts needed! Thanks



  • Brian WBrian W
    edited 12/10/18

    Hi Jennifer. You want to use SUMIF.

    =SUMIF([Program Bug]4:[Program Bug]7, 0, [Duration (in quarter hour increments)]4:[Duration (in quarter hour increments)]7)

  • Fantastic! I didn't even know that formula existed. Thank you so much.

Sign In or Register to comment.