SUMIFS cross sheets for months and years
I am trying to calculate total Amount in sheet#1 below by referring to sheet#2's [Date Sent to Client] and [Related Opportunity: Amount]:
Sheet#2:
So the Amount in sheet#1
SUMIFS({Sheet#2}[Related Opportunity: Amount], YEAR(Sheet#2[Date Sent to Client]=STC-year), MONTH(Sheet#2[Date Sent to Client]=STC-Month)
I have tried many times but still frustrated to make it work. Thanks
Best Answer
-
You are going to need something that looks like this...
=SUMIFS({Sheet 2 Amount Column}, {Sheet 2 Date Column}, AND(IFERROR(YEAR(@cell), 0) = [STC-Year]@row, IFERROR(MONTH(@cell, 0) = [STC-Month]@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You are going to need something that looks like this...
=SUMIFS({Sheet 2 Amount Column}, {Sheet 2 Date Column}, AND(IFERROR(YEAR(@cell), 0) = [STC-Year]@row, IFERROR(MONTH(@cell, 0) = [STC-Month]@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!