#1   Report Post  
SOT
 
Posts: n/a
Default IF Function

I am using Excel 2000. Is there a way around the 7 limit on a nested IF?

Thanks
  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

The limit is hard-coded and cannot be changed (still there in 2003).
Often people can restructure what they are trying to do to use a lookup
table.

Jerry

SOT wrote:

I am using Excel 2000. Is there a way around the 7 limit on a nested IF?

Thanks


  #3   Report Post  
RagDyeR
 
Posts: n/a
Default


It's good practice to re-configure your formulas, to perhaps a datalist,
which can be accessed by Lookup functions, if you have that amount of
variables.

However, there are workarounds.

Check out this web page of Chip Pearson:

http://www.cpearson.com/excel/nested.htm

--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"SOT" wrote in message
...
I am using Excel 2000. Is there a way around the 7 limit on a nested IF?

Thanks


  #4   Report Post  
Ola
 
Posts: n/a
Default

I often use CHOOSE:

Example 1:
IF A4 = 1 Then 11
Else If A4 = 2 Then 22
Else If A4 = 3 Then 33
Else If A4 = 4 Then 44
=CHOOSE(A4,11,22,33,44)

Example 2:
IF AND(A4 = 1, A4 < 10) Then "1-9"
Else If AND(A4 = 10, A4 < 20) Then "10-19"
Else...
=CHOOSE(1 + A4 = 1 + A4 = 10 + A4 = 20), "Error", "1-9", "10-19", "20")


Ola Sandstrom

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
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM


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