Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula Errors

Hi All,

Is there anyone who can help me? I am stuck on this formula, which
doesn't achieve the right results.

Here is the formula: -

=IF(OR(F16="",COUNTBLANK(F17)*OR(COUNTBLANK(F22)0 ))),"",COUNTA(F16F17,F22,MAX(F17,F22))*OR(F16<F17 ,F22=F16)*OR(F16=F17,F22=F16)

The COUNTBLANK just check if F16 is blank don't display in F15. Which
WORKS!

What i am trying to achieve with COUNTA is : -

1. If F16 is greater than F17 and F22 then display the MAX of F17 and
F22.
2. The second part If F16 less than F17 and F22 then display F16.
3. And finally if F16 is equal to F17 and F22 then display F16.

Many thanks

Imran

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Formula Errors

=min(F16,Max(F17,F22))

You can incorporate checking for blanks.

--
Regards,
Tom Ogilvy



" wrote:

Hi All,

Is there anyone who can help me? I am stuck on this formula, which
doesn't achieve the right results.

Here is the formula: -

=IF(OR(F16="",COUNTBLANK(F17)*OR(COUNTBLANK(F22)0 ))),"",COUNTA(F16F17,F22,MAX(F17,F22))*OR(F16<F17 ,F22=F16)*OR(F16=F17,F22=F16)

The COUNTBLANK just check if F16 is blank don't display in F15. Which
WORKS!

What i am trying to achieve with COUNTA is : -

1. If F16 is greater than F17 and F22 then display the MAX of F17 and
F22.
2. The second part If F16 less than F17 and F22 then display F16.
3. And finally if F16 is equal to F17 and F22 then display F16.

Many thanks

Imran


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula Errors

Many thank Tom Got it working!
Tom Ogilvy wrote:
=min(F16,Max(F17,F22))

You can incorporate checking for blanks.

--
Regards,
Tom Ogilvy



" wrote:

Hi All,

Is there anyone who can help me? I am stuck on this formula, which
doesn't achieve the right results.

Here is the formula: -

=IF(OR(F16="",COUNTBLANK(F17)*OR(COUNTBLANK(F22)0 ))),"",COUNTA(F16F17,F22,MAX(F17,F22))*OR(F16<F17 ,F22=F16)*OR(F16=F17,F22=F16)

The COUNTBLANK just check if F16 is blank don't display in F15. Which
WORKS!

What i am trying to achieve with COUNTA is : -

1. If F16 is greater than F17 and F22 then display the MAX of F17 and
F22.
2. The second part If F16 less than F17 and F22 then display F16.
3. And finally if F16 is equal to F17 and F22 then display F16.

Many thanks

Imran



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 Errors / #Value! Mary Lou[_2_] Excel Worksheet Functions 5 May 24th 08 12:51 AM
Mod a Formula For Errors carl Excel Worksheet Functions 1 August 22nd 07 09:42 PM
Formula errors MeSteve Excel Worksheet Functions 2 August 16th 06 11:42 PM
Excel Throwing Circular Errors When No Errors Exist MDW Excel Worksheet Functions 1 August 10th 06 02:15 PM
Unresolved Errors in IF Statements - Errors do not show in results Markthepain Excel Worksheet Functions 2 December 3rd 04 08:49 AM


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