Incomplate Online Formula Example - MONTH
Hi Support,
MONTH Function | Smartsheet Learning Center
Unsure where to post this, but the example is missing an end bracket. See below.
=COUNTIF([Sold Date]:[Sold Date], (MONTH(@cell) = 2)
When the MONTH function contains a blank cell within the range of dates it is reviewing, it will produce the #INVALID DATA TYPE error. This is expected behavior. To resolve this, you’ll want to utilize an IFERROR function.
#INVALID DATA TYPE
I know it auto appends, but the examples should be updated. Who verifies the validity of the online formula handbook?
Answers
-
@SomeRando You are correct that the formula has a typo. It either needs an additional end parentheses after =2), or the opening parentheses before MONTH should be removed. Either of these is valid.
=COUNTIF([Sold Date]:[Sold Date], (MONTH(@cell) = 2))
=COUNTIF([Sold Date]:[Sold Date], MONTH(@cell) = 2)
Really, the ideal is something like this:
=COUNTIFS([Sold Date]:[Sold Date], ISDATE(@cell), [Sold Date]:[Sold Date], MONTH(@cell) = 2)
When I noticed a lot of problems with the HAS function page, I rewrote a good portion of it and submitted a ticket to Smartsheet Support. It took about 3 months, but eventually my proposed changes were made to the page.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Ipshita Mukherjee
-
Hi @SomeRando (and @Jeff Reisman and @Ipshita)
Thanks for pointing out this typo! I'll make sure the Help Content team receives this feedback.
For future reference, the Support team does not update these pages, nor does the Product team (@Ipshita's link). You can leave direct feedback on articles in the Help Center itself, on the "Was this article helpful" section:
Or, of course, feel free to post here in the Community and I can submit that feedback on your behalf. 🙂
Cheers!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Genevieve P. Thanks! Good to know!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!