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
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 429 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!