SUMPRODUCT with blank rows returns a #value result

Rajus

New Member
Joined
Aug 18, 2003
Messages
41
I have used SUMPRODUCT in the past with multiple conditions and it worked good. Unfortunately, not this time.

Here's my scenario

Column A - Product Name
Row 1 - Year # stored as text
Row 2 - Month Name

This table contains sales figures by product for the specific period.

I used SUMPRODUCT(--(Sales!A6:A237=Summary!A7),--(Sales!3:3=Summary!C2),--(Sales!3:3=Summary!C3),(Sales!C6:W237)) to identify the sales figure based on the month, year and product name in a summary sheet.

Returns a #Value. The table does have blank rows in them.

What am I missing? Any help would be greatly appreciated.

Thanks a ton!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Your ranges are not of the same dimensions

ie in some cases you're looking at entire rows whereas in others you're looking at a selection of rows in a given column -- this will not work.
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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