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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
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).
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,887
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,030
Messages
5,856,935
Members
431,841
Latest member
jaybeem

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
Top