Can I get help with formula to count number of sold notifications current month?
This formula is giving me an Invalid Data Type message. I am trying to do this in Sheet Summary.
=COUNTIF([Date Sold Notification]:[Date Sold Notification], MONTH(@cell) = MONTH(TODAY()))
Best Answers
-
Try the below:
=COUNTIFS([Date Sold Notification]:[Date Sold Notification], ISDATE(@cell), [Date Sold Notification]:[Date Sold Notification], MONTH(@cell) = MONTH(TODAY()))
-
Do you have empty date cells in your date range? I received that error when I had some empty date fields in that range. Try adding an iferrror to your formula like this...
=COUNTIF([Date Sold Notification]:[Date Sold Notification], IFERROR(MONTH(@cell),0) = MONTH(TODAY()))
This will make any blank cells count as 0 and will then give you your final count.
Answers
-
Try the below:
=COUNTIFS([Date Sold Notification]:[Date Sold Notification], ISDATE(@cell), [Date Sold Notification]:[Date Sold Notification], MONTH(@cell) = MONTH(TODAY()))
-
Do you have empty date cells in your date range? I received that error when I had some empty date fields in that range. Try adding an iferrror to your formula like this...
=COUNTIF([Date Sold Notification]:[Date Sold Notification], IFERROR(MONTH(@cell),0) = MONTH(TODAY()))
This will make any blank cells count as 0 and will then give you your final count.
-
Thank you...It worked.
-
Awesome, glad we got it working for you. Please accept our answers. :)
-
Awesome @Mike Wilday
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"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!