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
- 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!