Formula SUMIF with date range

Hello,

I have a sheet that tracks educational programs: date of the program, # of participants, and content categories for reporting purposes. I'm trying to write a formula that counts all the participants in a specific date range and falls into a specific category but I keep unparsable. Can someone help me figure out what I am doing wrong?


=SUMIFS([# of participants]:[# of participants]), AND([Date of Event]:[Date of Event], AND(@cell >= DATE(2023, 7, 1), @cell <= DATE(2024, 6, 30))) AND([Type of Program]:[Type of Program], "Community Engagement")

Tags:

Best Answer

  • heyjay
    heyjay ✭✭✭✭✭
    Answer ✓
    =SUMIFS([# of participants]:[# of participants],
    [Type of Program]:[Type of Program], "Community Engagement",
    [Date of Event]:[Date of Event], AND(@cell >= DATE(2023, 7, 1), AND(@cell <= DATE(2024, 6, 30)
    )))
    

    ...

Answers

  • heyjay
    heyjay ✭✭✭✭✭
    Answer ✓
    =SUMIFS([# of participants]:[# of participants],
    [Type of Program]:[Type of Program], "Community Engagement",
    [Date of Event]:[Date of Event], AND(@cell >= DATE(2023, 7, 1), AND(@cell <= DATE(2024, 6, 30)
    )))
    

    ...

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!