Using COUNTIF and SUMIF with dates
Hi everyone,
I need help understanding how I can use dates in COUNTIF and SUMIF formulas. I have all other parts of the formula working but as soon as I try and add a date condition at all it fails. What I need is something that makes it include all rows where the date in the column Date Closed is the current month.
My current formula looks like: =COUNTIFS({Bus Unit}, "QUARRIES VIC METRO", {RFI STATUS}, "CLOSED", {DATE CLOSED}, "MISSING BIT")
Can anyone help me with what goes in the missing bit?
Thanks
Comments
-
This is a piece of a formula I've used to identify a specific month for conditional formulas:
[Date Range], IFERROR(MONTH(@cell), 0) = 1
Where the = 1 is looking for January. If the Cell is blank, it'll just move on and not toss you an error.
Without testing, your formula would look something like this:
=COUNTIFS({Bus Unit}, "QUARRIES VIC METRO", {RFI STATUS}, "CLOSED", {DATE CLOSED}, IFERROR(MONTH(@cell), 0 =1)
-
If you need a specific date, you would simply use a DATE(yyyy,mm,dd) in place of the MONTH function shown above. The same thing can be said for any other date related functions such as YEAR, WEEKNUMBER, YEARDAY, WEEKDAY, DAY, etc...
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 441 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 301 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!