Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
smithers2002
 
Posts: n/a
Default More than 7 IF statements in one arguement

Excel 2003: Should be able to use more than 7 IF statements in one arguement-
I constantly need to use these, but can only enter 7 arguements. Is there a
way of entering more arguements as part of the same formula?
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

if(your7) + if
but it would be better to use a lookup table or choose or something else.
What is your formula?
--
Don Guillett
SalesAid Software

"smithers2002" wrote in message
...
Excel 2003: Should be able to use more than 7 IF statements in one

arguement-
I constantly need to use these, but can only enter 7 arguements. Is there

a
way of entering more arguements as part of the same formula?



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

CHOOSE can have up to 29 responses (values, ranges or expressions) to choose
between.
VLOOKUP can return any number of responses from cell range.
No way to nest more than 7 IF's!


Arvi Laanemets


"smithers2002" wrote in message
...
Excel 2003: Should be able to use more than 7 IF statements in one

arguement-
I constantly need to use these, but can only enter 7 arguements. Is there

a
way of entering more arguements as part of the same formula?



  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 20 Apr 2005 10:30:08 -0700, smithers2002
wrote:

Excel 2003: Should be able to use more than 7 IF statements in one arguement-


You can. However, you may not NEST more than seven functions of any type.

As Harlan Grove has pointed out in the past, this is a limitation of Excel's
formula parser, as the program itself will evaluate to greater limits, but the
formula has to be created in another program (e.g. Open Office) and cannot be
edited in Excel.

However, since most instances (actually all that I've seen myself) of people
wanting to nest more than seven IF's can be handled more clearly, and edited
much more easily, by using a lookup table (see HELP for VLOOKUP), it is
unlikely that Microsoft will ever change this behavior.


--ron
  #5   Report Post  
smithers2002
 
Posts: n/a
Default

Hi all, thanks for responding- What i am trying to do is: I have several
numerical columns of data which need replacing with corresponding text. Eg
Country code 1= India. The problem is, some of the columns have over 200
different codes, so an if statement doesnt work in this instance. Is there
anything you can suggest?

Thanks for your help

"Don Guillett" wrote:

if(your7) + if
but it would be better to use a lookup table or choose or something else.
What is your formula?
--
Don Guillett
SalesAid Software

"smithers2002" wrote in message
...
Excel 2003: Should be able to use more than 7 IF statements in one

arguement-
I constantly need to use these, but can only enter 7 arguements. Is there

a
way of entering more arguements as part of the same formula?






  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 21 Apr 2005 01:43:03 -0700, smithers2002
wrote:

Is there anything you can suggest?


A lookup table was already suggested by several posters, along with a
recommendation to check out VLOOKUP in Help.

Did you try this?

Was there a problem using it?



--ron
  #7   Report Post  
smithers2002
 
Posts: n/a
Default

Hi Ron,

Have got this sussed now using Vlookup, thanks. You might be able to answer
me another question though- is there anyway of inserting a 'blank' instead of
'False' at the end of the statement. Ideally I would like the spreadsheet to
return blank cells instead of n/a. Would ISERROR work?

Thanks, Lynsey

"Ron Rosenfeld" wrote:

On Thu, 21 Apr 2005 01:43:03 -0700, smithers2002
wrote:

Is there anything you can suggest?


A lookup table was already suggested by several posters, along with a
recommendation to check out VLOOKUP in Help.

Did you try this?

Was there a problem using it?



--ron

  #8   Report Post  
Niek Otten
 
Posts: n/a
Default

=IF(ISNA(YourFormula),0,YourFormula)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"smithers2002" wrote in message
...
Hi Ron,

Have got this sussed now using Vlookup, thanks. You might be able to
answer
me another question though- is there anyway of inserting a 'blank' instead
of
'False' at the end of the statement. Ideally I would like the spreadsheet
to
return blank cells instead of n/a. Would ISERROR work?

Thanks, Lynsey

"Ron Rosenfeld" wrote:

On Thu, 21 Apr 2005 01:43:03 -0700, smithers2002
wrote:

Is there anything you can suggest?


A lookup table was already suggested by several posters, along with a
recommendation to check out VLOOKUP in Help.

Did you try this?

Was there a problem using it?



--ron



  #9   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Or, to return an empty string, which would make the cell look blank:

=IF(ISNA(YourFormula),"",YourFormula)

Niek Otten wrote:
=IF(ISNA(YourFormula),0,YourFormula)



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #10   Report Post  
smithers2002
 
Posts: n/a
Default

Thanks all, have got this sorted now- works a treat x

"Debra Dalgleish" wrote:

Or, to return an empty string, which would make the cell look blank:

=IF(ISNA(YourFormula),"",YourFormula)

Niek Otten wrote:
=IF(ISNA(YourFormula),0,YourFormula)



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


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
Nesting more than nine IF statements in Excel Alexander Walsh via OfficeKB.com Excel Worksheet Functions 13 June 1st 05 06:31 PM
VLOOKUP + IF STATEMENTS Excel Discussion (Misc queries) 6 April 1st 05 08:43 AM
Working with If statements and time Sue Excel Worksheet Functions 1 March 31st 05 06:06 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


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