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([Q22018]:[Q22018], [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 18 only. =SUMIFS([Q22018]1:[Q22018]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
Check out the Formula Handbook template!