Formula error
What is wrong with my formula? =SUM(IF({P2F_status_1Q2024 Range 2} = DATE(YEAR(TODAY()), 1, 1), IF({P2F_status_1Q2024 Range 2} = DATE(YEAR(TODAY()), 1, 31), {P2F_status_1Q2024 Range 3} = "billable", 0), 0))
I've also tried this variation, =COUNTIFS({P2F_status_1Q2024 Range 2} >= DATE(YEAR(TODAY()), 1, 1), {P2F_status_1Q2024 Range 2} <= DATE(YEAR(TODAY()), 1, 31), {P2F_status_1Q2024 Range 3} = "billable")
What im trying to do is count the number of items in "P2F_status_1Q2024 Range 3" that are "billable" and have dates within the range of January 1st to January 31st of the current year in SmartSheet.
Answers
-
Hey @Leighmercado
Try this
=COUNTIFS({P2F_status_1Q2024 Range 2},@cell>= DATE(YEAR(TODAY()), 1, 1), {P2F_status_1Q2024 Range 2},@cell<= DATE(YEAR(TODAY()), 1, 31), {P2F_status_1Q2024 Range 3},"billable")
Does this work for you?
Kelly
This may be of help
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 349 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!