Counting between dates greater than or less than a date
Hello,
I have the following formula coming back as unparseable. I am trying to calculate how many OOB Ambients in each month of the year. I normally have a date sheet that I reference, but I'm thinking using the date function might be cleaner. Can someone look at the formula below and identify my mistake?
=COUNTIFS({OS Visit Report Type}, "OOB", {OS Equipment Category}, "Ambient", {OS Activity Date}, >=(DATE(2022, 01, 01), {OS Activity Date}, <=DATE(2022, 01, 31)
Answers
-
You added a ( Before your first Date formula so smartsheet is looking for you to close that parenthesis. It's not needed so you can just delete it.
-
You also need another parentheses at the end of your formula to close out your countifs. The parentheses that is there is only closing your 2nd Date formula.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!