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?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Upvote 0
Is this related to the old thread?

https://www.mrexcel.com/forum/excel-questions/1097707-sumproduct-mid-multiple-sheets-not-working-2.html


Nobody can help you with what you have there until they know a few things.

What is the sumproduct formula?
Are there any value errors within the range A301:A1000?
What is contained within A301:A1000.

However i told you that in the last thread.

Hi Steve, the formula is =SUMPRODUCT(--(A1:A1000)). No value errors in the range at all. A1-1000 contain numbers formatted as text.
 
Upvote 0
Does A1 contain a header? For that to work all cells, even if text, need to be numbers.
 
Upvote 0
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?

I suspect some cells contain formulas that in some cases return "" and cause the #VALUE ! error.

M.
 
Upvote 0
This array formula should work
=SUM(IF(ISNUMBER(--A1:A1000),--A1:A1000))
Ctrl+Shift+Enter

M.
 
Upvote 0
Following on from your previous thread that isnt going to correct values such as $100, unless that is your local currency, where it cant coerce to number and will just ignore those. You may or may not have the result you need. The fact you had a formula that produced a value error tells me you need to find those cells and at least make a concious choice to ignore them.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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