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
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 60 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 40 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!