#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lime
 
Posts: n/a
Default If formula ?

Is ther a better way I keep getting error to many Arguments

=if(Y8=7,(AR23+20),(AR23),if(J20+20=J17,(E23+H26+ 10)))

Thanks,
Lime
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default If formula ?

You have too many arguments for your IF function

=if(Y8=7, (AR23+20), (AR23), if(J20+20=J17,(E23+H26+10)))
value if true value if false this is not
necessary for your IF

"Lime" wrote:

Is ther a better way I keep getting error to many Arguments

=if(Y8=7,(AR23+20),(AR23),if(J20+20=J17,(E23+H26+ 10)))

Thanks,
Lime

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default If formula ?

"Lime" wrote:
Is ther a better way I keep getting error to many Arguments
=if(Y8=7,(AR23+20),(AR23),if(J20+20=J17,(E23+H26+ 10)))


Not a question of "better". You simply have the wrong
format. To help you, it would be useful if you could
express your intended logic in English. For example
(wild guess):

if Y8=7, then AR23+20
else if J20+20 = J17, then E23+H26+10
else AR23

That can be expressed as:

=IF(Y8=7, AR23+20, IF(J20+20 = J17, E23+H26+10, AR23))
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lime
 
Posts: n/a
Default If formula ?

Here is what I'm trying to do.
if Y8=7 then AR23+20 if not than show what's in AR23
else if J20+20 = J17, then E23+H26+10

Thanks,
Lime

" wrote:

"Lime" wrote:
Is ther a better way I keep getting error to many Arguments
=if(Y8=7,(AR23+20),(AR23),if(J20+20=J17,(E23+H26+ 10)))


Not a question of "better". You simply have the wrong
format. To help you, it would be useful if you could
express your intended logic in English. For example
(wild guess):

if Y8=7, then AR23+20
else if J20+20 = J17, then E23+H26+10
else AR23

That can be expressed as:

=IF(Y8=7, AR23+20, IF(J20+20 = J17, E23+H26+10, AR23))

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lime
 
Posts: n/a
Default If formula ?

Here is what I'm trying to do.
if Y8=7 then AR23+20 if not than show what's in AR23
but if J20+20 = J17, then E23+H26+10



"Lime" wrote:

Here is what I'm trying to do.
if Y8=7 then AR23+20 if not than show what's in AR23
else if J20+20 = J17, then E23+H26+10

Thanks,
Lime

" wrote:

"Lime" wrote:
Is ther a better way I keep getting error to many Arguments
=if(Y8=7,(AR23+20),(AR23),if(J20+20=J17,(E23+H26+ 10)))


Not a question of "better". You simply have the wrong
format. To help you, it would be useful if you could
express your intended logic in English. For example
(wild guess):

if Y8=7, then AR23+20
else if J20+20 = J17, then E23+H26+10
else AR23

That can be expressed as:

=IF(Y8=7, AR23+20, IF(J20+20 = J17, E23+H26+10, AR23))



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default If formula ?

"Lime" wrote:
Here is what I'm trying to do.
if Y8=7 then AR23+20 if not than show what's in AR23
else if J20+20 = J17, then E23+H26+10


That does not even make sense in English. The first
statement (if ... then ...; if not, then ...) precludes the
else-if. (Hint: What should the result be if J20+20 < 17?)

I tried to fix that by suggesting that perhaps you want
AR23 only if Y8<7 __and__ J20+20 < J17. But either
you did not understand my fix (which is correct for that
purpose), or my guess is incorrect.

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
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


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