LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default How to ignore #DIV/0! in Sumproduct formula

try
=(SUMPRODUCT((I2:I95<0)*((Main!$H$2:$H$95100)*(M ain!$I$2:$I$95-Main!$H$2:$H$95)/(Main!$I$2:$I$95)0.5))
unless there is another spot in the various ranges with /0 error
which is what I thought you had

"deeds" wrote:

Thanks....I tried the not(iserror(Range)...but all it does is count the
entire range...without the criteria. the formula is trying to count the
occurances of when column H is greater than 100 and when the result of the
I-H/I is than 50%.

"bj" wrote:

try adding not(iserror(Range)) to your sumproduct formula

I have not been able to figure out what you are trying to calculate with the
0.5 in the sumproduct equation

the divide by zero error may come when the I column is less than 0.5

"deeds" wrote:

Below is my formula...there are #DIV/0! in the data set...(I can't remove).
I want to exclude them in the formula. Basically...how to I exclude the
#DIV/0! in the following formula? Thanks in advance...

=(SUMPRODUCT((Main!$H$2:$H$95100)*(Main!$I$2:$I$9 5-Main!$H$2:$H$95)/(Main!$I$2:$I$95)0.5))



 
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
SUMPRODUCT - Ignore blank rows sahafi Excel Worksheet Functions 8 June 13th 07 06:11 PM
Ignore #N/A in a formula [email protected] Excel Discussion (Misc queries) 1 February 14th 07 03:16 PM
Ignore #N/A in a formula [email protected] Excel Discussion (Misc queries) 3 February 14th 07 06:02 AM
How can I ignore an #N/A value in a =SUM() formula? JD Excel Worksheet Functions 2 February 13th 06 04:50 PM
Sumproduct to ignore text and "" Ricky Pang Excel Worksheet Functions 6 December 10th 05 07:36 AM


All times are GMT +1. The time now is 10:43 PM.

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

About Us

"It's about Microsoft Excel"