Formula for counting processes published

FTesseneer
FTesseneer ✭✭✭✭
edited 03/11/25 in Formulas and Functions

Hi , I need to count the number of processes published by the month. Below is the formula I tried but I get an invalid data error. I have also included a snip it of my sheet.

=COUNTIF([Publish Date]:[Publish Date], AND(MONTH(@cell) = 1, MONTH(@cell) = 2, MONTH(@cell) = 3))

Any suggestions on what I am doing wrong?

Thanks!

Freda

Answers

  • Trang Turtletraxx
    Trang Turtletraxx ✭✭✭✭✭

    I believe it is because you don't have actual dates in your date column, just the months. Have you tried to change the column type to a Date column and inputting an actual date such as 01/01/25?

  • FTesseneer
    FTesseneer ✭✭✭✭

    Thank you Trang,

    I tried that. Here is a snip it now and my formula now.

    Still didn't work.

    Freda

  • Andrée Starå
    Andrée Starå Community Champion
    edited 03/11/25

    Hi,

    I hope you're well and safe!

    Try something like this.

    =COUNTIF([Actual Publish Date]:[Actual Publish Date], IFERROR(MONTH(@cell ), 0) = 1)

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic day!

    Best,

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

    Did my comment(s) help/answer your question or solve your problem? Please support the Community and me 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! I appreciate it, thanks!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

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

  • FTesseneer
    FTesseneer ✭✭✭✭

    =COUNTIF([Act Pub Date]:[Act Pub Date],IFERROR(Month(@cell ),0).=1)

    Hi Andree, This is what I am getting now. I didn't use my other column because I don't want to change it again so I did a trial with this column. It seems like this should be so simple! All I want to know is the quantity for Jan, Feb, etc. I know I can manually enter it, but I thought I might could use a formula to automatically do it for me.

    Thanks for your help!

    Freda

  • FTesseneer
    FTesseneer ✭✭✭✭

    =COUNTIFS([Actual Publish Date]:[Actual Publish Date], "Jan")

    This is what I ended up doing to get the metric that I wanted. If anyone knows of a better way or better formula to use to get this result, please let me know. I really appreciate the support!

    Below is the chart I want to show on my dashboard as a KPI.

    I am open to suggestions on improvement of it as well!

    Freda

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!