Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
insert rows automatically to avoid overwriting | Excel Discussion (Misc queries) | |||
? avoid changing sum function as rows added? | New Users to Excel | |||
How to avoid deleting of rows | Excel Programming | |||
How to avoid deleteing certain rows? | Excel Programming | |||
How to Avoid Printing Blank Rows | Excel Programming |