Sumproduct over the whole column does not work

gaj104

Well-known Member
Joined
Nov 9, 2002
Messages
864
Hi,

Why is it if I use a defined range my sumproduct formula works, but when I use an entire column the sumproduct fails. Is there a workaround to this?
Book1
ABCDEFG
2ApplesRed10Conditions
3PearsYellow20FruitApples
4ApplesGreen55ColourRed
5
685Total10
7
8Total#NUM!<<< why doesnt this work?
Sheet2


Many thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Sumproduct won't work with entire columns, so the workaround is not to use entire columns (the max you can use is A2:A65536 for example).
 
Upvote 0
Hi gaj104

You cannot use whole columns in any array formula. There is no workaround (that I know of).

You can, however, specify a big numbers of rows

A1:A20000

Hope this helps
PGC
 
Upvote 0

Forum statistics

Threads
1,214,667
Messages
6,120,821
Members
448,990
Latest member
rohitsomani

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