Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Need help with formula...

=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)

Thanks...Laurie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Need help with formula...

your conditions all have true / false correctly set -- in other words the
final MAX() function returns when all tests are false.

replacing this with zero would do what you need... but i guess your formula
is there for a reason? have you missed another test?

"Alberta Rose" wrote in message
...
=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)

Thanks...Laurie


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Need help with formula...

your conditions all have true / false correctly set -- in other words the
final MAX() function returns when all tests are false.

replacing this with zero would do what you need... but i guess your formula
is there for a reason? have you missed another test?

"Alberta Rose" wrote in message
...
=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)

Thanks...Laurie


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Need help with formula...

your function looks ok in so far as every true/false is met with a value.
ths means that if all the tests are false, the final MAX() function is the
result.
so mayne you missed a test? replacing the final max() with a zero would give
you what you need.

"Alberta Rose" wrote in message
...
=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)

Thanks...Laurie


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Need help with formula...

your function looks ok in so far as every true/false is met with a value.
ths means that if all the tests are false, the final MAX() function is the
result.
so mayne you missed a test? replacing the final max() with a zero would give
you what you need.

"Alberta Rose" wrote in message
...
=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)

Thanks...Laurie




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Need help with formula...

Maybe...
=IF(ISERROR(AA53*AH53*K53*AD53),0,IF(AND(K53=0,N53 =0),0,IF(M53<(R53*0.1),MAX(K53,N53,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53)))))

Note: the following replaces the equal sign in your formula...
=IF(ISERROR(AA53*AH53*K53*AD53),0,
Also, and additional ")" is required at the end of the formula.
--
Jim Cone
Portland, Oregon USA



"Alberta Rose"

wrote in message
=IF(AND(K53=0,N53=0),0,IF(M53<(R53*0.1),MAX(K53,N5 3,K53*AD53),
IF(V53<U53,AA53*AH53,MAX(K53,N53,AA53*AH53))))

If none of the conditions in the above formula are met, I would like to
return a value of zero. I'm unsure of how to do this. Help please :)
Thanks...Laurie

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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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