Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stu Stu is offline
external usenet poster
 
Posts: 29
Default Checking the results of a number of IF formula

Hi
I am trying to verify that all the tests have passed in the Table below and
show an over all pass.
1 B B C D
2 Lower Upper Measured Pass/Fail
3 309.6 379.5 344 =IF(AND(G21E21,G21<F21),"Pass","Fail")
4 121.77 152.68 136.2 =IF(AND(G22E22,G22<F22),"Pass","Fail")
5 268.2 332.75 301.9 =IF(AND(G23E23,G23<F23),"Pass","Fail")
6 242.43 300.19 271.69 =IF(AND(G24E24,G24<F24),"Pass","Fail")

I have tried the following IF formula

=IF(D3:D6="Pass","Pass","Fail")

but it can't seem to check text or formulas. Any suggestions on other
formula to use??
Thanks
Stu
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Checking the results of a number of IF formula

=if(isna(match("Fail",D3:D6,0)),"Pass","Fail")

"Stu" wrote in message
...
Hi
I am trying to verify that all the tests have passed in the Table below
and
show an over all pass.
1 B B C D
2 Lower Upper Measured Pass/Fail
3 309.6 379.5 344 =IF(AND(G21E21,G21<F21),"Pass","Fail")
4 121.77 152.68 136.2 =IF(AND(G22E22,G22<F22),"Pass","Fail")
5 268.2 332.75 301.9 =IF(AND(G23E23,G23<F23),"Pass","Fail")
6 242.43 300.19 271.69 =IF(AND(G24E24,G24<F24),"Pass","Fail")

I have tried the following IF formula

=IF(D3:D6="Pass","Pass","Fail")

but it can't seem to check text or formulas. Any suggestions on other
formula to use??
Thanks
Stu


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Checking the results of a number of IF formula

On Fri, 9 Apr 2010 03:26:01 -0700, Stu wrote:

Hi
I am trying to verify that all the tests have passed in the Table below and
show an over all pass.
1 B B C D
2 Lower Upper Measured Pass/Fail
3 309.6 379.5 344 =IF(AND(G21E21,G21<F21),"Pass","Fail")
4 121.77 152.68 136.2 =IF(AND(G22E22,G22<F22),"Pass","Fail")
5 268.2 332.75 301.9 =IF(AND(G23E23,G23<F23),"Pass","Fail")
6 242.43 300.19 271.69 =IF(AND(G24E24,G24<F24),"Pass","Fail")

I have tried the following IF formula

=IF(D3:D6="Pass","Pass","Fail")

but it can't seem to check text or formulas. Any suggestions on other
formula to use??
Thanks
Stu


You want to see if there are no "Fails" in the list?

try (not tested):

=if(countif(d3:d6,"Fail")=0, "All Pass", "Not All Pass")

--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Checking the results of a number of IF formula

Stu,

This one won't be dependent on your column D. It will run the test
independently, but should get the same result... Also, it will count the
number of tests and tell you how many failed or the total number passed.
pretty fun.

=IF(SUMPRODUCT(--(G2:G5E2:E5),--(G2:G5<F2:F5))=COUNT(G2:G5),"All "
&COUNT(G2:G5)&"
Passed",COUNT(G2:G5)-SUMPRODUCT(--(G2:G5E2:E5),--(G2:G5<F2:F5)) & " Failed")

"Stu" wrote:

Hi
I am trying to verify that all the tests have passed in the Table below and
show an over all pass.
1 B B C D
2 Lower Upper Measured Pass/Fail
3 309.6 379.5 344 =IF(AND(G21E21,G21<F21),"Pass","Fail")
4 121.77 152.68 136.2 =IF(AND(G22E22,G22<F22),"Pass","Fail")
5 268.2 332.75 301.9 =IF(AND(G23E23,G23<F23),"Pass","Fail")
6 242.43 300.19 271.69 =IF(AND(G24E24,G24<F24),"Pass","Fail")

I have tried the following IF formula

=IF(D3:D6="Pass","Pass","Fail")

but it can't seem to check text or formulas. Any suggestions on other
formula to use??
Thanks
Stu

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Checking the results of a number of IF formula

=IF(COUNTIF(D3:D6,"Fail"),"Fail","Pass")


"Stu" wrote:

Hi
I am trying to verify that all the tests have passed in the Table below and
show an over all pass.
1 B B C D
2 Lower Upper Measured Pass/Fail
3 309.6 379.5 344 =IF(AND(G21E21,G21<F21),"Pass","Fail")
4 121.77 152.68 136.2 =IF(AND(G22E22,G22<F22),"Pass","Fail")
5 268.2 332.75 301.9 =IF(AND(G23E23,G23<F23),"Pass","Fail")
6 242.43 300.19 271.69 =IF(AND(G24E24,G24<F24),"Pass","Fail")

I have tried the following IF formula

=IF(D3:D6="Pass","Pass","Fail")

but it can't seem to check text or formulas. Any suggestions on other
formula to use??
Thanks
Stu

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
Checking a date/number between two others [email protected] Excel Discussion (Misc queries) 6 March 31st 09 12:01 AM
Returning zero if the results of a formula is a negative number? James23 Excel Discussion (Misc queries) 7 April 21st 08 11:08 AM
DISPLAY A FIXED NUMBER IF GREATER THAN FORMULA RESULTS Peter Excel Discussion (Misc queries) 7 January 23rd 07 05:18 PM
number checking diam Excel Discussion (Misc queries) 0 November 29th 06 05:46 PM
number checking diam Excel Discussion (Misc queries) 0 November 29th 06 05:35 PM


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