Struggling with using SUMIFS to sum rows within the year

syolleck
ββ
Hi all- I am trying to add up the # of days in my "Actual LOS" column that are both within the year 2024 and have the "Campus 1" value under the "Referral Facility" column. I'm struggling with the the year part of the function- would appreciate any insight into how to simplify this or make this formula work. It's currently coming up as unparseable.
Thanks in advance!
=SUMIFS([Actual LOS]:[Actual LOS],[Referral Facility]:[Referral Facility],"Campus 1",[Referral Date]:[Referral Date], AND(@cell > DATE (2024, 1, 1), @cell < DATE(2024, 12, 31)))
Answers
-
Can you please try this?
=SUMIFS( [Actual LOS]:[Actual LOS], [Referral Facility]:[Referral Facility], "Campus 1", [Referral Date]:[Referral Date], >DATE(2024, 1, 1), [Referral Date]:[Referral Date], <DATE(2024, 12, 31))
If you want to incorporate the AND functionβ¦
=SUMIFS( [Actual LOS]:[Actual LOS], [Referral Facility]:[Referral Facility], "Campus 1", [Referral Date]:[Referral Date], AND(@cell >DATE(2024, 1, 1), @cell <DATE(2024, 12, 31)
...
-
the second formula worked. thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 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!