Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 30 levels of nesting excel

Hello, I am using Excel 2007 and it doesn't allow me to enter more levels for
IF condition. I am trying to create mark up for every price interval for
every item. The following is what I have. Is there anything I could do about
it?
=IF(AND(G10=0,G10<=9.99),6,IF(AND(G10=10,G10<=12 .5),1.55,IF(AND(G11=12.51,G11<=15.63),1.531,IF(AN D(G11=15.64,G11<=19.53),1.508,
IF(AND(G11=19.54,G11<=24.41),1.478,IF(AND(G11=24 .42,G11<=30.52),1.442,IF(AND(G11=30.53,G11<=38.15 ),1.396,IF(AND(G11=38.16,G11<=47.68),1.338,IF(AND (G11=47.69,G11<=59.6),1.267,IF(AND(G11=59.61,G11 <=74.51),1.177,IF(AND(G11=74.52,G11<=93.13),1.065 ,IF(AND(G11=93.14,G11<=116.42),0.925,IF(AND(G11= 116.43,G11<=145.52),0.75,IF(AND(G11=145.53,G11<=1 81.90),0.739,IF(AND(G11=181.91,G11<=227.37),0.726 ,IF(AND(G11=227.38,G11<=284.22),0.71,IF(AND(G11= 284.23,G11<=355.27),0.689,IF(AND(G11=355.28,G11<= 444.09),0.664,IF(AND(G11=444.10,G11<=555.11),0.63 1,IF(AND(G11=555.12,G11<=693.89),0.591,IF(AND(G11 =693.90,G11<=867.36),0.542,IF(AND(G11=867.37,G11 <=1084.2),0.478,IF(AND(G11=1084.21,G11<=1355.25), 0.4,IF(AND(G11=1355.26,G11<=1694.07),0.397,IF(AND (G11=1694.08,G11<=2117.58),0.394,IF(AND(G11=2117 .59,G11<=2646.98),0.39,IF(AND(G11=2646.98,G11<=33 08.72),0.39,IF(AND(G11=3308.73,G11<=4135.90),0.37 9,IF(AND(G11=4135.91,G11<=516988),0.372,IF(AND(G1 1=5169.89,G11<=6462.35),0.362,IF(AND(G11=6462.36 ,0.362))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default 30 levels of nesting excel

Use the VLOOKUP() function instead.

Here's a tutorial:

http://www.contextures.com/xlFunctions02.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"prokopof" wrote in message ...
| Hello, I am using Excel 2007 and it doesn't allow me to enter more levels for
| IF condition. I am trying to create mark up for every price interval for
| every item. The following is what I have. Is there anything I could do about
| it?
|
=IF(AND(G10=0,G10<=9.99),6,IF(AND(G10=10,G10<=12 .5),1.55,IF(AND(G11=12.51,G11<=15.63),1.531,IF(AN D(G11=15.64,G11<=19.53),1.508,
|
IF(AND(G11=19.54,G11<=24.41),1.478,IF(AND(G11=24 .42,G11<=30.52),1.442,IF(AND(G11=30.53,G11<=38.15 ),1.396,IF(AND(G11=38.16,G11<=47.68),1.338,IF(AND (G11=47.69,G11<=59.6),1.267,IF(AND(G11=59.61,G11 <=74.51),1.177,IF(AND(G11=74.52,G11<=93.13),1.065 ,IF(AND(G11=93.14,G11<=116.42),0.925,IF(AND(G11= 116.43,G11<=145.52),0.75,IF(AND(G11=145.53,G11<=1 81.90),0.739,IF(AND(G11=181.91,G11<=227.37),0.726 ,IF(AND(G11=227.38,G11<=284.22),0.71,IF(AND(G11= 284.23,G11<=355.27),0.689,IF(AND(G11=355.28,G11<= 444.09),0.664,IF(AND(G11=444.10,G11<=555.11),0.63 1,IF(AND(G11=555.12,G11<=693.89),0.591,IF(AND(G11 =693.90,G11<=867.36),0.542,IF(AND(G11=867.37,G11 <=1084.2),0.478,IF(AND(G11=1084.21,G11<=1355.25), 0.4,IF(AND(G11=1355.26,G11<=1694.07),0.397,IF(AND (G11=1694.08,G11<=2117.58),0.394,IF(AND(G11=2117 .59,G11<=2646.98),0.39,IF(AND(G11=2646.98,G11<=33 08.72),0.39,IF(AND(G11=3308.73,G11<=4135.90),0.37 9,IF(AND(G11=4135.91,G11<=516988),0.372,IF(AND(G1 1=5169.89,G11<=6462.35),0.362,IF(AND(G11=6462.36 ,0.362))


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
Subtotal Levels not showing in Excel [email protected] Excel Worksheet Functions 3 May 2nd 23 03:45 AM
Create levels in excel without subtotaling Aaron Excel Discussion (Misc queries) 4 August 2nd 07 06:32 PM
too many levels of nesting Rookie Excel Worksheet Functions 7 July 23rd 07 09:49 AM
Excel with functionallity for calculation on in more levels JanMH Excel Worksheet Functions 0 August 11th 06 08:39 AM
How do I get Multiple subtotal levels in EXCEL? Minch Lewis Excel Discussion (Misc queries) 2 February 26th 05 06:04 PM


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