trying to formulate a calculation

COUNTIF({Range}, AND(>-365, <0))

so i have a column for # days to due date and based on that, i want to count the number of tasks that are due for the past 12 months and above is the formula that i created but im getting invalid operations. please advice further. i did include the range.

Best Answers

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    edited 07/22/21 Answer ✓

    Hi @Kent Chong

    Hope you are fine, please try the following formula:

    =COUNTIF({Range}, AND(@cell < 365, @cell > 0)) 
    

    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    Answer ✓

    @Kent Chong

    Please try the following


    =COUNTIF({Range}, @cell < Today(120)) 
    


    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!