Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Use SUMPRODUCT and avoid rows with #REF!

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Use SUMPRODUCT and avoid rows with #REF!

=SUM(IF(ISNUMBER(H6:H75),H6:H75)*(IF(ISNUMBER(G6:G 75),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)



"Raul" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Use SUMPRODUCT and avoid rows with #REF!

This is a great help.

Thanks,
Raul


"Bob Phillips" wrote:

=SUM(IF(ISNUMBER(H6:H75),H6:H75)*(IF(ISNUMBER(G6:G 75),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)



"Raul" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert rows automatically to avoid overwriting Tushar Bhatt Excel Discussion (Misc queries) 0 November 9th 09 11:41 AM
? avoid changing sum function as rows added? JClark New Users to Excel 4 October 28th 06 08:37 PM
How to avoid deleting of rows 2foot Excel Programming 2 June 5th 06 09:57 AM
How to avoid deleteing certain rows? E.J. van Wijngaarden[_2_] Excel Programming 0 June 16th 05 05:23 PM
How to Avoid Printing Blank Rows Yogesh[_3_] Excel Programming 1 November 1st 03 04:52 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"