Sumproduct with Vlookup

cwallace70

Board Regular
Joined
Mar 7, 2011
Messages
172
I have a summary sheet with 12 monthly worksheets that I want a sum of the following. It contains 3 criterias.
The summary sheets have a dept code of "EN" and I want a sum from all 12 monthly worksheets that have that same code in column C with an amount in column E.
Ca nthis be done with sumproduct and vlookup or just sumproduct?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Yes it did have the ref inthe formula. After correcting it
I am now getting a #NUM! error
=SUM(IF(N:N=Jan!$N5,R:R+AE:AE))
 
Upvote 0
Yes it did have the ref inthe formula. After correcting it
I am now getting a #NUM! error
=SUM(IF(N:N=Jan!$N5,R:R+AE:AE))
If you're NOT using Excel 2007 or later then you can't use entire columns as range references in array formulas.

Try using smaller ranges.
 
Upvote 0
Yes it did have the ref inthe formula. After correcting it
I am now getting a #NUM! error
=SUM(IF(N:N=Jan!$N5,R:R+AE:AE))

Hope you don't have any #NUM! error somwhere.
If you are on Excel 2007 or later, this formula would be admissible, provided that
it's confirmed with control+shift+enter, not just enter. On earler versions, we are not allowed
to reference whole columns.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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