SUMIFS Formula Needed for Multiple Calculations Summing from the Same Column
I am working on a budget sheet, and need to be able to calculate OPEX expenses per site, and CAPEX expenses per site. I've got 6 different sites, and need these totals for each quarter. The formula below seems to work, but I can't use it more than once within the same column without getting a circular reference error. This is making me crazy...please help!
=SUMIFS([Q2-2018]:[Q2-2018], [Expense Category]:[Expense Category], "OPEX", [Site]:[Site], "SiteName")
Comments
-
If you are searching the entire column, you can't add your summary data to the same column. It would infinitely keep adding your sum total to the column total.
You could use direct references. Rather than the whole column. In the formula below I am looking at rows 1-8 only. =SUMIFS([Q2-2018]1:[Q2-2018]8, [Expense Category]1:[Expense Category]8, "OPEX", [Site]1:[Site]8, "SiteName")
The problem with calling specific rows is that your data might live beyond the specific rows you are calling, and therefore miss summing some data. Can you create some summary rows at the bottom or top of your sheet? And then sum your data in a separate column rather than in the same column? Then your use of the entire column range would work for you.
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!