Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pkl
 
Posts: n/a
Default Need a count of #of times a result occurred on multiple platforms

I'm using Excel 2003 SP2. I need a formula that will tell me how many times
tests passed across multiple platforms. For instance, I have two columns; A
and B. Column A contains multiple platforms, ie: oracle, unix, mssql2K5.
Column B contains the results pass, fail, blocked.

ColA ColB
mssql2k5 pass
oracle pass
unix fail
mssql2k5 fail
oracle pass
unix fail
mssql2k5 blocked
oracle blocked
unix blocked


I can use COUNTIF and determine the number of pass/fail/blocked cases, and I
can determine the number of platforms tested on. What I can't seem to get is
the number of cases passed, etc. on mssql2K5, etc.

What I want is something like =COUNTIF(A:A,"mssql2k5") and
COUNTIF(B:B,"pass"). I tried using =COUNTIF(AND(AA:,"mssql2k5"),B:B,"pass")
, and the other way around, but that didn't work. Is this type of formula
possible?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Need a count of #of times a result occurred on multiple platforms

=SUMPRODUCT(--(A1:A100="mssql2k5"),--(B1:B100="pass"))

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"pkl" wrote in message
...
I'm using Excel 2003 SP2. I need a formula that will tell me how many

times
tests passed across multiple platforms. For instance, I have two columns;

A
and B. Column A contains multiple platforms, ie: oracle, unix, mssql2K5.
Column B contains the results pass, fail, blocked.

ColA ColB
mssql2k5 pass
oracle pass
unix fail
mssql2k5 fail
oracle pass
unix fail
mssql2k5 blocked
oracle blocked
unix blocked


I can use COUNTIF and determine the number of pass/fail/blocked cases, and

I
can determine the number of platforms tested on. What I can't seem to get

is
the number of cases passed, etc. on mssql2K5, etc.

What I want is something like =COUNTIF(A:A,"mssql2k5") and
COUNTIF(B:B,"pass"). I tried using

=COUNTIF(AND(AA:,"mssql2k5"),B:B,"pass")
, and the other way around, but that didn't work. Is this type of formula
possible?





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Need a count of #of times a result occurred on multiple platforms

Hi PKL,

you could use sumproduct also as:

sumproduct(A2:A50="mssql2k5")*(b2:b50="pass"))

note that you couldn't use entire column like A:A

Regards from Brazil and thanks for the feedback
Marcelo



"pkl" escreveu:

I'm using Excel 2003 SP2. I need a formula that will tell me how many times
tests passed across multiple platforms. For instance, I have two columns; A
and B. Column A contains multiple platforms, ie: oracle, unix, mssql2K5.
Column B contains the results pass, fail, blocked.

ColA ColB
mssql2k5 pass
oracle pass
unix fail
mssql2k5 fail
oracle pass
unix fail
mssql2k5 blocked
oracle blocked
unix blocked


I can use COUNTIF and determine the number of pass/fail/blocked cases, and I
can determine the number of platforms tested on. What I can't seem to get is
the number of cases passed, etc. on mssql2K5, etc.

What I want is something like =COUNTIF(A:A,"mssql2k5") and
COUNTIF(B:B,"pass"). I tried using =COUNTIF(AND(AA:,"mssql2k5"),B:B,"pass")
, and the other way around, but that didn't work. Is this type of formula
possible?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pkl
 
Posts: n/a
Default Need a count of #of times a result occurred on multiple platfo

Thank you both, however neither formula worked for me. I appreciate your
responses though. I can do what I need to do manually.

I basically need a formula that will filter out the configuration, and of
that configuration, how many passed. It seems simple enough, but I'm having
trouble.

Thanks again for your responses though. I appreciate it!

"Bob Phillips" wrote:

=SUMPRODUCT(--(A1:A100="mssql2k5"),--(B1:B100="pass"))

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"pkl" wrote in message
...
I'm using Excel 2003 SP2. I need a formula that will tell me how many

times
tests passed across multiple platforms. For instance, I have two columns;

A
and B. Column A contains multiple platforms, ie: oracle, unix, mssql2K5.
Column B contains the results pass, fail, blocked.

ColA ColB
mssql2k5 pass
oracle pass
unix fail
mssql2k5 fail
oracle pass
unix fail
mssql2k5 blocked
oracle blocked
unix blocked


I can use COUNTIF and determine the number of pass/fail/blocked cases, and

I
can determine the number of platforms tested on. What I can't seem to get

is
the number of cases passed, etc. on mssql2K5, etc.

What I want is something like =COUNTIF(A:A,"mssql2k5") and
COUNTIF(B:B,"pass"). I tried using

=COUNTIF(AND(AA:,"mssql2k5"),B:B,"pass")
, and the other way around, but that didn't work. Is this type of formula
possible?






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
Conversion of Numercials to Figure JAGANNATH Excel Worksheet Functions 1 April 4th 06 04:12 PM
Currency to Text mytipi Excel Worksheet Functions 1 February 21st 06 11:43 PM
EXCEL:NUMBER TO GREEK WORDS vag Excel Worksheet Functions 1 June 15th 05 05:57 PM
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM
How can i change this VBA project According to Indian Numeric Rao Ratan Singh Excel Discussion (Misc queries) 1 April 21st 05 07:53 PM


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