Sum if with Structured References for a Range

mdrew9

Board Regular
Joined
Mar 4, 2006
Messages
118
=Sumif(Table1[Criteria Column],Table2[[#this row],[criteria column]],Table1[[Dec-10]:[Apr-11]])

As you can see if the Range Dec - April meets the criteria that I want it should sum the range.
If I seperate this formula to just =sum(Table1[[Dec-10]:[Apr-11]]), it works fine. But once I introduce it to the Sum if it only adds up Dec-10. Running a pivot table on this criteria in Table 1 confirms that its only Dec-10 and not Sum(Dec-10 - Apr-11). Any ideas?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Additionally, if I convert this data set to a range and apply sumif I get the same incorrect result, if I apply sum(if()) array forumla I get the correct result.
 
Upvote 0
A more efficient solution might be to have a column in your table which simply sums Dec-Apr. Then point your SUMIF at that column. Saves the need for array formulas etc.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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