Sum Ifs in a date range
Trying to calculate the sum of Range 4 only in between the dates below. I'm going to be calculating by quarter, so if there is a better formula for Q1, Q2, etc., please let me know.
=SUMIFS({Construction Range 4}, {Construction Range 5}, "Macy", {Construction Range 3}, >=DATE(2024, 1, 1), {Construction Range 3}, <=DATE(2024, 3, 31)))
Thank you!
Best Answer

Hi @aecross
You can use a SUMIFS formula in a structure like this.
SUMIFS(Value:Value, Date:Date, INT(MONTH(@cell) / 4) + 1 = 1, Date:Date, YEAR(@cell) = "2024")
The " INT(MONTH(@cell) / 4) + 1" corresponds to the quarter number.
The formula uses range references like Value:Value as the formulas are in the Sheet Summary fields, but you can use your crosssheet reference like {Construction Range 4} instead.
You can add additional conditions after the "2024" such as "{Construction Range 5}, "Macy".
Answers

Hi @aecross
You can use a SUMIFS formula in a structure like this.
SUMIFS(Value:Value, Date:Date, INT(MONTH(@cell) / 4) + 1 = 1, Date:Date, YEAR(@cell) = "2024")
The " INT(MONTH(@cell) / 4) + 1" corresponds to the quarter number.
The formula uses range references like Value:Value as the formulas are in the Sheet Summary fields, but you can use your crosssheet reference like {Construction Range 4} instead.
You can add additional conditions after the "2024" such as "{Construction Range 5}, "Macy".

Thank you, @jmyzk_cloudsmart_jp! This looks to be working!

Happy to help!😁, @aecross.
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 62.9K Get Help
 379 Global Discussions
 210 Industry Talk
 441 Announcements
 4.5K Ideas & Feature Requests
 139 Brandfolder
 129 Just for fun
 130 Community Job Board
 449 Show & Tell
 30 Member Spotlight
 1 SmartStories
 300 Events
 33 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!