#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 231
Default Formula question

I have two columns, one with a list of test cases (most are duplicated) and
one with whether it passed or failed. In order to gauge whether the next
level of testing has passed, all instances of a test case must pass. So,
what I'm needing is a formula that will look at the data and say something
like "if all cells in column E are Pass where column D contains certain text,
then Pass, if not, Fail", but I don't know how to write that formula. Any
ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Formula question

=IF(SUMPRODUCT(--(D2:D200="certain text"),--(E2:E200="pass")) =
COUNTIF(D2:D200,"certain text"),"pass","Fail")

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Sarah" wrote in message
...
I have two columns, one with a list of test cases (most are duplicated) and
one with whether it passed or failed. In order to gauge whether the next
level of testing has passed, all instances of a test case must pass. So,
what I'm needing is a formula that will look at the data and say something
like "if all cells in column E are Pass where column D contains certain
text,
then Pass, if not, Fail", but I don't know how to write that formula. Any
ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 231
Default Formula question

I think it did! Thanks!

"Bob Phillips" wrote:

=IF(SUMPRODUCT(--(D2:D200="certain text"),--(E2:E200="pass")) =
COUNTIF(D2:D200,"certain text"),"pass","Fail")

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Sarah" wrote in message
...
I have two columns, one with a list of test cases (most are duplicated) and
one with whether it passed or failed. In order to gauge whether the next
level of testing has passed, all instances of a test case must pass. So,
what I'm needing is a formula that will look at the data and say something
like "if all cells in column E are Pass where column D contains certain
text,
then Pass, if not, Fail", but I don't know how to write that formula. Any
ideas?




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
Formula Question Catherine Excel Discussion (Misc queries) 2 October 1st 07 10:25 AM
formula question Robert F Excel Discussion (Misc queries) 2 January 26th 07 07:48 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula Question thereclas Excel Worksheet Functions 4 March 20th 06 11:40 PM
Formula question... HROBERTSON Excel Discussion (Misc queries) 2 July 21st 05 08:45 PM


All times are GMT +1. The time now is 01:54 AM.

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"