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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!