Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MikeDH
 
Posts: n/a
Default Multi-conditions with SUMPRODUCT and COUNTIF

I'm still struggling a bit with putting a lot of things in the same function,
so I'm looking for a little help on the following problem:

Column B contains a lab result value; Column D contains a Pass/Fail value.
I'm trying to calculate a pass/fail percentage for specific ranges of the lab
result (i.e. APC<=500, 500<APC<=1000). The way I want the formula to run is

(APC<=500 and NOT(ISNA(PassFail)) and PassFail=1)/(PassFail=1 +
PassFail=0)

If that makes sense, please help me out. If not, let me know and I'll try
and put down more concisely what I want.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

If that makes sense, please help me out. If not, let me know and I'll try
and put down more concisely what I want.


Another explanation won't hurt!

(APC<=500 and NOT(ISNA(PassFail)) and PassFail=1)/(PassFail=1 + PassFail=0)

What's this part all about: NOT(ISNA(PassFail))

Biff

"MikeDH" wrote in message
...
I'm still struggling a bit with putting a lot of things in the same
function,
so I'm looking for a little help on the following problem:

Column B contains a lab result value; Column D contains a Pass/Fail value.
I'm trying to calculate a pass/fail percentage for specific ranges of the
lab
result (i.e. APC<=500, 500<APC<=1000). The way I want the formula to run
is

(APC<=500 and NOT(ISNA(PassFail)) and PassFail=1)/(PassFail=1 +
PassFail=0)

If that makes sense, please help me out. If not, let me know and I'll try
and put down more concisely what I want.



  #3   Report Post  
duane
 
Posts: n/a
Default

sounds like this for data in rows 1:100

=sumproduct((b1:b100<=500)*(d1:d100=1))/
sumproduct((isnumber(d1:d100))*1)

to give a ratio of the occurances of column d =1 with column b <=500 to the
total occurance of a number being in column d


"MikeDH" wrote:

I'm still struggling a bit with putting a lot of things in the same function,
so I'm looking for a little help on the following problem:

Column B contains a lab result value; Column D contains a Pass/Fail value.
I'm trying to calculate a pass/fail percentage for specific ranges of the lab
result (i.e. APC<=500, 500<APC<=1000). The way I want the formula to run is

(APC<=500 and NOT(ISNA(PassFail)) and PassFail=1)/(PassFail=1 +
PassFail=0)

If that makes sense, please help me out. If not, let me know and I'll try
and put down more concisely what I want.

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
SumProduct or CountIf Kim Excel Worksheet Functions 7 July 9th 05 12:04 AM
countif, sumproduct mg New Users to Excel 7 July 1st 05 10:26 PM
COUNTIF or SUMPRODUCT counting multiple criteria Peo Sjoblom Excel Worksheet Functions 0 May 31st 05 11:40 PM
Using COUNTIF with 2 criteria - SUMPRODUCT? Mike R. Excel Worksheet Functions 2 February 24th 05 06:57 AM
SUMPRODUCT & COUNTIF Connie Martin Excel Worksheet Functions 2 December 16th 04 07:53 PM


All times are GMT +1. The time now is 04:43 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"