Combining two formulas to filter data


I need to create a formula to count any lines that reference "GEMS Point", that will further filter only for any references within a given month.

I have the following two formulas that are working perfectly:

Formula for total by GEMS Point:

=COUNTIFS({GEMS Point}, [Primary Column]@row)

Formula for January programs

=COUNTIFS({Activity Start Date}, AND(@cell >= DATE(2024, 1, 1), @cell <= DATE(2024, 1, 31)))

But I'm trying to figure out how to combine them into one line that will give me ONLY January programs for each point person on my team, and then eventually the other months.

I keep getting unparseable and appreciate any advice!


  • Jo-Ann Turning
    Jo-Ann Turning ✭✭✭✭

    I thought it should be this, but it is coming up UNPARSEABLE:

    =COUNTIFS({GEMS Point}, [Primary Column]@row, AND {Activity Start Date},>= DATE(2024, 1, 1), @cell <= DATE(2024, 1, 31)])

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @Jo-Ann Turning

    I hope you're well and safe!

    You're missing the first @cell part.

    Make sense?

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: | | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Jo-Ann Turning
    Jo-Ann Turning ✭✭✭✭

    Hi!!! hope you are well...nice to see a familiar name trying to help me again :) thanks, I updated to the below formula adding in the additional @cell ...but that still didn't seem to work, so I am still missing something

    =COUNTIFS({GEMS Point}, [Primary Column]@row, AND {Activity Start Date}, @cell >= DATE(2024, 1, 1), @cell <= DATE(2024, 1, 31)])

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!