SUMIFS formula in same column as the sum range (Possible?)

ChristianEllehammer

New Member
Joined
Aug 18, 2015
Messages
6
I've been using this awesome forum for many years, getting all of my Excel questions answered by the awesome forum members and Excel gurus, but now I'm having a task to which I cannot seem to find an already existing topic/solution for, thus this is my first post.

I'm having (almost) the same issue/question as khadert in this topic: http://www.mrexcel.com/forum/excel-questions/452723-sumproduct-circular-reference-help.html

Let me explain:

I want to SUM a column (column C) depending on two text criteria.
First criteria is in column A, and second criteria is in column B.
The formula HAS to be in the same column as the SUM range (column C), thus I need to exclude the rows of the criterias in the sum range column (C).

I know to use SUMIFS, but using this returns 0 as it makes a circular reference to the cell in which the SUMIFS formula is (C1 and C5).

Would be nice if the SUMIFS-formula could find the criteria cells with OFFSET, finding the criterias one and two rows left of the formula cell. I need this as I'm filtering the complete list, thus having 'simple' cell references would mess up the SUMIFS-results.

ABC
1Name1TotalFORMULA WHICH SUMIFS C:C with criterias in A1 ("Name1") and excludes all rows with the criteria of "Total"
Should be = 3 (SUM of C2:C4)
2Name1Sub11
3Name1Sub21
4Name1Sub31
5Name2TotalFORMULA WHICH SUMIFS C:C with criterias in A5 ("Name2") and excludes all rows with the criteria of "Total"
Should be = 6 (SUM of C6:C8)
6Name2Sub12
7Name2Sub22
8Name2Sub32
9Etc...Etc...Etc...

<tbody>
</tbody>


I hope that I have been clear about my issue, else please let me know.

THANK YOU!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi, did you explore the subtotal option on the data tab? This might give you exactly the result you are looking for.
 
Upvote 0
This works for me in C2:
Code:
=SUMIFS(C:C,A:A,A2,B:B,"<>Total")
No circular reference whatsoever.
 
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,844
Members
449,411
Latest member
adunn_23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top