SUMPRODUCT on numbers stored as text, issue

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

I use sumproduct on range A1:A300 for numbers stored as text. Works perfect. But I want to extend the range to A1:A1000 since row 301-1000 contain formulas and numbers might appear. When extending the range I get value error. How do I solve this?
 
Place this in B1:

=--A1

Drag it down. Look at the cells that are producing the value errors.
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Place this in B1:

=--A1

Drag it down. Look at the cells that are producing the value errors.

Please see function below. This one is in column AK. Doing the check you suggest on this column generates value errors on rows where 'forecast' sheet is missing data input.
=IFERROR(INDEX('forecast'!$AJ$3:$XFD$1048576;MATCH('all'!$M132;'forecast'!$B$3:$B$1048576;0);MATCH(AK$6;'forecast'!$AJ$2:$XFD$2;0))*1;"")
 
Upvote 0

Forum statistics

Threads
1,216,057
Messages
6,128,527
Members
449,456
Latest member
SammMcCandless

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