Sumproduct troubleshoot - advice welcome

horkstar12

New Member
Joined
May 16, 2016
Messages
9
Hello,

Looking to implement a sumproduct across 2 variables and i cant get my head around why its returning a #NA, can anyone help?

I have colour in column and Demand across the top as below:


Demand £ (LW)Demand LW -1 £Demand LW -2 £Demand LW -3 £
BLACK#N/A
BLEACH WASH
BLUE WASH
GREY WASH
INDIGO WASH
COLOUR
WHITE

<tbody>
</tbody>


The formula returning a #NA is:

=SUMPRODUCT(('by cat col'!N2:N5833=Sheet1!D2)*('by cat col'!O1:R1=Sheet1!E1),'by cat col'!O2:R5833)

In the formula N2:N5833 is colour, O1:R1 is the Demand £, Demand LW -1....

Tried to adjust the formatting so all fields noted as Text are so and same for number fields.

Any help please?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
In sumproduct formula both the ranges should have equal Ranges.

Hi,

Thanks for the reply, when you say ranges, my 2 columns ranges match down to 5833, what other figures need to match as the row column goes across as required.

Thanks in advance, appreciate the help.
 
Upvote 0
= sumproduct(Range1,Range2)

your range2 has 4*5831 cells, I am not sure what your Range1 has.
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

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