How do I use COUNTIF to calculate Date Added?

Andrew Ryback
✭✭✭✭
Hi everyone,
I am attempting to add a sheet summary that totals my 'date added' column broken down by year.
Here's what I've got:
=COUNTIFS([DATE ADDED]:[DATE ADDED], >=DATE(2022, 1, 1), [DATE ADDED]1:[DATE ADDED]18, <=DATE(2022, 12, 31))
This keeps spitting back an 'incorrect argument set'.
Any ideas on what I'm doing wrong?
Thank you.
Best Answer
-
@Andrew Ryback Hi, try using the And and @cell; see if it works
=COUNTIFS([DATE ADDED]:[DATE ADDED], AND(@cell >=DATE(2022, 1, 1), @cell <=DATE(2022, 12, 31)))
Answers
-
@Andrew Ryback Hi, try using the And and @cell; see if it works
=COUNTIFS([DATE ADDED]:[DATE ADDED], AND(@cell >=DATE(2022, 1, 1), @cell <=DATE(2022, 12, 31)))
-
Perfect! Thanks for the help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 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!