Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Calculate Occurrences in a Month

I'm trying to calculate the number of tour requests I receive in a month. Each tour is listed as an individual line item with date format MM/DD/YY. I tried the formula =COUNTIF({Source Range}, MONTH(TODAY())) but I'm getting "UNPARSABLE". I want to be able to show on a dashboard how many requests we received for the current month only.

Best Answer

  • Community Champion
    Answer ✓

    Hi @MVZ give this one a try... It will count any dates that have the same month as today's month. Be sure your Source Range date column is an actual date type column.

    =COUNTIFS({Source Range}, IFERROR(MONTH(@cell), 0) = MONTH(TODAY()))

    Let me know if that works for you.

    Ryan Sides

    Smartsheet Tips and Tricks for Beginners and Advanced on LinkedIn and YouTube

    Come Say Hello!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I have a pretty basic sheet that I am using to develop a formula, and am encountering an issue I haven't seen before. The formula isn't including my second row for some reason. It isn't a huge issue f…
    User: "jjg279"
    Answered ✓
    9
    2
  • I'm sure that this is an easy fix but I've tried a bunch of different ways and can't get this to work. I need to get the max date from a sheet to feed it into my meta data sheet (dates are stored in d…
    User: "susanmgfin"
    Answered ✓
    8
    2
  • I need help to come up with the risk formula. I tried many different formulas and tried to modify it but just can't seem to have desired results. So these are the conditions I MUST meet: Program is a …
    User: "Ronak"
    Answered ✓
    29
    6