Use SUMPRODUCT and avoid rows with #REF!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to use SUMPRODUCT on several columns that may have some #REF! errors.
Is this possible?

I've played around with
"=SUMPRODUCT(--(ISNUMBER(H64:H75)),--(ISNUMBER(G64:G75)))"
to get a feel for this function and it returns the correct number of rows
but I don't know how to get actual values for these ranges.

Thanks in advance,
Raul
 
=SUM(IF(ISNUMBER(H6:H75),H6:H75)*(IF(ISNUMBER(G6:G75),G6:G75)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
This is a great help.

Thanks,
Raul


Bob Phillips said:
=SUM(IF(ISNUMBER(H6:H75),H6:H75)*(IF(ISNUMBER(G6:G75),G6:G75)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top