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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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