Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Looking for an alternate solution

I'm looking to see if there is an alternate solution. I have end users who
will enter four values. Two calculations will be performed resulting in an
average and the high value. There are three tests that are performed to
detemine if the person meets or fails. I want to use the results and
determine if the person has met all three of the tests, and if so, to refer.
If the person fails any of the three criteria, then there will be no
referral. I have created the following formula, and it does work, but I'm
wondering if there may be a more effecient way to accomplish this, just in
case I have to expand the number of tests that have to be performed so maybe
I could use a range instead of checking each individual cell.

In the formula below, E2, E3, and E4 will equal either Meet or Fail

=IF(OR(E2="Fail",E3="Fail",E4="Fail"),"Do not refer","Refer")

No rush on this since I have a working solution, but I thank you all for
your hard work. You have assisted me on several projects that could not have
been completed without you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Looking for an alternate solution

Perhaps:
=IF(ISNUMBER(MATCH("Fail",E2:E4,0)),"Do not refer","Refer")

Checks to see if the word "Fail" appears in the array (which returns a
number). You can now simply expand your array as needed. You could even go
ahead and set it to E2:E100 right now, and as long as you don't have "Fail"
in any of the cells, it will still work.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"covingj" wrote:

I'm looking to see if there is an alternate solution. I have end users who
will enter four values. Two calculations will be performed resulting in an
average and the high value. There are three tests that are performed to
detemine if the person meets or fails. I want to use the results and
determine if the person has met all three of the tests, and if so, to refer.
If the person fails any of the three criteria, then there will be no
referral. I have created the following formula, and it does work, but I'm
wondering if there may be a more effecient way to accomplish this, just in
case I have to expand the number of tests that have to be performed so maybe
I could use a range instead of checking each individual cell.

In the formula below, E2, E3, and E4 will equal either Meet or Fail

=IF(OR(E2="Fail",E3="Fail",E4="Fail"),"Do not refer","Refer")

No rush on this since I have a working solution, but I thank you all for
your hard work. You have assisted me on several projects that could not have
been completed without you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Looking for an alternate solution

On Wed, 18 Feb 2009 12:07:02 -0800, covingj
wrote:

I'm looking to see if there is an alternate solution. I have end users who
will enter four values. Two calculations will be performed resulting in an
average and the high value. There are three tests that are performed to
detemine if the person meets or fails. I want to use the results and
determine if the person has met all three of the tests, and if so, to refer.
If the person fails any of the three criteria, then there will be no
referral. I have created the following formula, and it does work, but I'm
wondering if there may be a more effecient way to accomplish this, just in
case I have to expand the number of tests that have to be performed so maybe
I could use a range instead of checking each individual cell.

In the formula below, E2, E3, and E4 will equal either Meet or Fail

=IF(OR(E2="Fail",E3="Fail",E4="Fail"),"Do not refer","Refer")

No rush on this since I have a working solution, but I thank you all for
your hard work. You have assisted me on several projects that could not have
been completed without you.


=if(countif(e2:e4,"Fail"),"Do not Refer","Refer")
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Looking for an alternate solution

Thank you for your lightning fast response. MATCH did cross my mind, but
didn't put it together with ISNUMBER. Maybe when I grow up I will be as smart
as some of you, but being in my 40's, I'm running out of time.

"covingj" wrote:

I'm looking to see if there is an alternate solution. I have end users who
will enter four values. Two calculations will be performed resulting in an
average and the high value. There are three tests that are performed to
detemine if the person meets or fails. I want to use the results and
determine if the person has met all three of the tests, and if so, to refer.
If the person fails any of the three criteria, then there will be no
referral. I have created the following formula, and it does work, but I'm
wondering if there may be a more effecient way to accomplish this, just in
case I have to expand the number of tests that have to be performed so maybe
I could use a range instead of checking each individual cell.

In the formula below, E2, E3, and E4 will equal either Meet or Fail

=IF(OR(E2="Fail",E3="Fail",E4="Fail"),"Do not refer","Refer")

No rush on this since I have a working solution, but I thank you all for
your hard work. You have assisted me on several projects that could not have
been completed without you.

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
Alternate footers Bee Excel Worksheet Functions 3 March 14th 07 09:25 PM
Alternate Shading tamiluchi Excel Discussion (Misc queries) 9 April 28th 06 08:55 PM
alternate blank row bayanbaru Excel Worksheet Functions 3 June 3rd 05 11:47 PM
Add alternate rows Teri Excel Worksheet Functions 6 March 16th 05 10:15 PM
How to sum-up alternate rows ? lolex Excel Worksheet Functions 3 November 5th 04 11:57 AM


All times are GMT +1. The time now is 09:35 AM.

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"