How to Sum a range if 2 criteria are met? (different range sizes)

Options

Hi, I am trying to sum the total Inv. value in the below table but only for rows where the WBS target is contained in the WBS element AND where the Inv. Target Year appears in the range of Inv. years. In the below example, the the total would equal $500 because rows 1 and 2 contain 123 in the WBS Element column and the Inv. target year is in inv. year range. Any help is greatly appreciated!

image.png
Tags:

Best Answer

  • Darren Mullen
    Darren Mullen Community Champion
    Answer ✓

    @Jpress use SumIFs to sum the Inv. Amt Y1 based on Inv. Year 1 and another SumIFs to sum Inv. Amt Y2 based on Inv. Year 2 and add the two sumifs togther like this:

    SUMIFS(Inv Y1 data) + SUMIFS(Inv Y2 Data)

    Darren Mullen, Author of: Smartsheet Architecture Solutions

    Get my 7 Smartsheet tips here

    Take your Smartsheet knowledge to the next level and become an expert. Join the Smartsheet Guru Elite

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!