SUMIFS criteria for date range (Monthly) #INVALID OPERATION
Hello everyone!
I'm trying to make a formula that sums this year sales by month. I have this formula but it returns #INVALID OPERATION, would you mind helping me fix it. much appreciated.
=SUMIFS([Valeur TTC]:[Valeur TTC], CO:CO = "UD", Date:Date, IFERROR(MONTH(@cell), 0) = 1, Date:Date, IFERROR(YEAR(@cell), 0) = 2019)
Comments
-
Hi,
Try this.
=IFERROR(SUMIFS([Valeur TTC]:[Valeur TTC]; CO:CO; "UD"; Date:Date; MONTH(@cell) = 1; Date:Date; YEAR(@cell) = 2019); 0)
The same version but with the below changes for your and others convenience.
=IFERROR(SUMIFS([Valeur TTC]:[Valeur TTC], CO:CO, "UD", Date:Date, MONTH(@cell) = 1, Date:Date, YEAR(@cell) = 2019), 0)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andrée!
Thank you for you reply, the formula worked!
Would you mind explaining why my version didn't work, knowing that the other columns didn't have blank cells, that's why I put iferror only in the date column.
best
Ahmed
-
Ahmed,
It was your first criteria range/criteria. You used CO:CO = "UD" when the proper format would be what you had used for the dates (and which Andree corrected) CO:CO, "UD"
-
Excellent!
Happy to help!
I saw that Paul answered.
Let me know if I can help in any other way!
Have a fantastic weekend!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!