SUMFIS btwn dates
![Btrombler](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
I am scratching my head because this is a simple formula I have used in the past, but I cannot figure out why this is returning 0 when there are 2 values that should be summed in this period:
=SUMIFS(Amount:Amount, Date:Date, <=DATE(2024, 6, 30), Date:Date, >DATE(2024, 3, 31))
Best Answer
-
If you right click on the Date column and go to "Edit Column Properties", what is the Column Type? Is it Date or is it Text/Number?
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
Answers
-
Hi @Btrombler ,
I just made a sheet then tested out your formula and it works for me:
Is this the real formula that you use in your sheet, or does your real formula use cross-sheet references or something? If they do use cross-sheet references, make sure that your reference includes the entire column.
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
-
hi @SSFeatures yes, that is the exact formula. Of note, this is in a sheet summary, not an actual cell.
-
Ah good point. I just tried it as a sheet summary and it looks correct to me.
Can you try recreating the field and see if that fixes the formula? Super weird!
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
-
@SSFeatures gave that a try, but it didnt seem to help :(
=SUMIFS(Amount:Amount, Date:Date, <=DATE(2024, 6, 30), Date:Date, >DATE(2024, 3, 31))
-
If you put the formula in a cell within the sheet, does it work?
What if you try duplicate the Date column (e.g. Date2), then update the formula to use Date2? Similarly with Amount and "Amount2"?
I'm just curious if something is buggy in your sheet somehow.
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
-
In the cell w/n the sheet, it still brings up "0"
I tried with both the updated columns and a mix of one and not the other and they all turn up 0 :(
=SUMIFS([Amount2]:[Amount2], [Date2]:[Date2], <=DATE(2024, 6, 30), [Date2]:[Date2], >DATE(2024, 3, 31))
-
just tried creating a WHOLE new sheet and c/p the data over and it's still turning up 0
=SUMIFS(Amount:Amount, Date:Date, <=DATE(2024, 6, 30), Date:Date, >DATE(2024, 3, 31))
-
If you right click on the Date column and go to "Edit Column Properties", what is the Column Type? Is it Date or is it Text/Number?
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
-
@SSFeatures omg OF COURSE! that did it!! thank you so much. Can't believe i didnt check that piece.
-
Haha no problem! I should have thought of that way earlier too. Took us both a long time for something simple lol. Glad it works now!
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!