Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default IF-more than 7 arguments

The following formula is working perfectly but I now need to add one more
test....
I need to check T14...if T14 is equal to the word "Forever" the result
should be "0" and there should not be any more testing

=IF(G14=Z$3,(V14*AA$3),IF(G14=Z$4,(V14*AA$4),IF(G1 4=Z$5,(V14*AA$5),IF(G14=Z$6,(V14*AA$6),IF(G14=Z$7, (V14*AA$7),IF(G14=Z$8,(V14*AA$8),IF(G14=Z$9,(V14*A A$9))))))))

How can I simplify this equation to include the additional test?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default IF-more than 7 arguments

You could separate it out in multiple columns.
For example, column A would have the formula you have provided.
Column B would contain an if statement like you said (if T14 is equal to the
word "Forever" the result should be "0").
And your final column (the one where you want the data) would say something
like
if(B14=0,0,A14)

Hope this helps.

"Carolina" wrote:

The following formula is working perfectly but I now need to add one more
test....
I need to check T14...if T14 is equal to the word "Forever" the result
should be "0" and there should not be any more testing

=IF(G14=Z$3,(V14*AA$3),IF(G14=Z$4,(V14*AA$4),IF(G1 4=Z$5,(V14*AA$5),IF(G14=Z$6,(V14*AA$6),IF(G14=Z$7, (V14*AA$7),IF(G14=Z$8,(V14*AA$8),IF(G14=Z$9,(V14*A A$9))))))))

How can I simplify this equation to include the additional test?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,549
Default IF-more than 7 arguments


=IF(T14="Forever",0,VLOOKUP(G14,Z3:AA9,2,0)*V14)
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Carolina"
wrote in message
The following formula is working perfectly but I now need to add one more test....
I need to check T14...if T14 is equal to the word "Forever" the result
should be "0" and there should not be any more testing

=IF(G14=Z$3,(V14*AA$3),IF(G14=Z$4,(V14*AA$4),IF(G1 4=Z$5,(V14*AA$5),
IF(G14=Z$6,(V14*AA$6),IF(G14=Z$7,(V14*AA$7),IF(G14 =Z$8,(V14*AA$8),
IF(G14=Z$9,(V14*AA$9))))))))

How can I simplify this equation to include the additional test?
Thanks.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default IF-more than 7 arguments

I see you have an answer elsewhere, as well as Jim's reply here (which
you have not acknowledged) - please do not multi-post.

Pete

On May 20, 6:36*pm, Carolina
wrote:
The following formula is working perfectly but I now need to add one more
test....
I need to check T14...if T14 is equal to the word "Forever" the result
should be "0" and there should not be any more testing

=IF(G14=Z$3,(V14*AA$3),IF(G14=Z$4,(V14*AA$4),IF(G1 4=Z$5,(V14*AA$5),IF(G14=Z*$6,(V14*AA$6),IF(G14=Z$7 ,(V14*AA$7),IF(G14=Z$8,(V14*AA$8),IF(G14=Z$9,(V14* A*A$9))))))))

How can I simplify this equation to include the additional test?

Thanks.


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
Too few arguments plore Excel Worksheet Functions 5 July 19th 12 02:36 PM
And, if, arguments.... Chuck_in_Mo Excel Worksheet Functions 19 February 12th 07 03:42 PM
arguments gemini0662 Excel Discussion (Misc queries) 9 July 13th 06 03:48 PM
Can sumproduct do two {x,y,z} arguments? [email protected] Excel Worksheet Functions 3 April 14th 06 11:23 PM
Are there too many arguments Pat Excel Worksheet Functions 4 January 13th 05 03:54 AM


All times are GMT +1. The time now is 03:35 PM.

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"