Why cant I count in this date range?
RickyT
✭✭✭✭✭
Im tying to count the amount of RLO's between the dates below and am not sure why its an #incorrectargument ?
=COUNTIF([RLO Receive Date]:[RLO Receive Date], >= DATE(2024,01,01) <= DATE( 2024,4,1)))
Anyone help me with the syntax here?
Ricky T
Gov Contractor for USSF
Tags:
Best Answer
-
Try this...
=COUNTIF([RLO Receive Date]:[RLO Receive Date], AND(@cell>=DATE(2024,1,1), @cell<=DATE(2024,4,1)))
You want both conditions to be true, "greater that or equal to 2024-01-01" and "less than or equal to 2024-04-01", so wrap the criteria within AND().
Also, your original formula had an extra ")".
Answers
-
Try this...
=COUNTIF([RLO Receive Date]:[RLO Receive Date], AND(@cell>=DATE(2024,1,1), @cell<=DATE(2024,4,1)))
You want both conditions to be true, "greater that or equal to 2024-01-01" and "less than or equal to 2024-04-01", so wrap the criteria within AND().
Also, your original formula had an extra ")".
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!