SumIF not working for multiple column reference

lorecarney

New Member
Joined
Jan 9, 2014
Messages
2
I'm trying to create a coordinates formula (If that makes sense)
where a sum if, will give me the dollar amount of total spend by type of vendor
I have the months and the vendor names.
I used to have this CSE formula working perfectly in Excel 2003, but we upgraded to 2010 and not working right now.
BI Publisher sheet is where the information is.
in the formula below Column J refers to the month in the BI Publisher sheet (Example C4 1/31/2014)
column R to the vendor name (Example (B6 Vendor 1)
column M is the dollar amount spent
any other ways around this in v2010 ?

Example:
Actual</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
Fsct</SPAN>
ACTUAL SPEND</SPAN>
(C4)1/31/2014</SPAN>
Feb</SPAN>
Mar</SPAN>
Apr</SPAN>
May</SPAN>
Jun</SPAN>
Jul</SPAN>
Aug</SPAN>
Sep</SPAN>
Sales Promo
(B6)Vendor 1</SPAN>
{=sum(if((('BI Publisher'!$J$1:$J$14995)=$C$4)*(('BI Publisher'!$R$1:$R$14995)=B6,'BI Publisher'!$M$1:$M$14995))} </SPAN>
Vendor 2</SPAN>

<TBODY>
</TBODY>
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
This "array formula" should work

=SUM(IF('BI Publisher'!$J$1:$J$14995=$C$4,IF('BI Publisher'!$R$1:$R$14995=B6,'BI Publisher'!$M$1:$M$14995)))

...but in Excel 2010 it will be easier to use SUMIFS function which doesn't need "array entry", i.e.

=SUMIFS('BI Publisher'!$M$1:$M$14995,'BI Publisher'!$J$1:$J$14995,$C$4,'BI Publisher'!$R$1:$R$14995,B6)

As you can see, in SUMIFS the range to sum is the first range
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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