Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike1
 
Posts: n/a
Default nesting issue in functions

How can I get around the 7 nesting limitations. This is my formula
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))
This works but I would like to have multiple values for A10. I tried to copy
it and change the value of a10 each time but I can only add 2 more.
Example:
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="Pumpco.",$G$27 =499,$G$27<=999),0.75,IF(AND($A$10="Pumpco.",$G$2 7=1000,$G$27<=1999),0.99,IF(AND($A$10="Pumpco.",$ G$27=2000,$G$27<=4999),9.99,IF(AND($A$10="Pumpco. ",$G$27=5000),19.99)))))
This returns a value of false.
Any help would be appreciated
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default nesting issue in functions

Look in HELP for the VLOOKUP function.
Additional help can be found he

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

--
Kind regards,

Niek Otten

"Mike1" wrote in message
...
How can I get around the 7 nesting limitations. This is my formula
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))
This works but I would like to have multiple values for A10. I tried to
copy
it and change the value of a10 each time but I can only add 2 more.
Example:
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="Pumpco.",$G$27 =499,$G$27<=999),0.75,IF(AND($A$10="Pumpco.",$G$2 7=1000,$G$27<=1999),0.99,IF(AND($A$10="Pumpco.",$ G$27=2000,$G$27<=4999),9.99,IF(AND($A$10="Pumpco. ",$G$27=5000),19.99)))))
This returns a value of false.
Any help would be appreciated
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default nesting issue in functions

Mike,

Try this

=IF(ISNUMBER(MATCH($A$10,{"Pumpco","quanta utility services,
LLC."},0)),VLOOKUP($G$27,{0,0.33;500,0.75;1000,0.9 ;2000,9.99;5000,19.99},2),
"")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Mike1" wrote in message
...
How can I get around the 7 nesting limitations. This is my formula
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))
This works but I would like to have multiple values for A10. I tried to

copy
it and change the value of a10 each time but I can only add 2 more.
Example:
=IF(AND($A$10="quanta utility services,
LLC.",$G$27<499),0.33,IF(AND($A$10="quanta utility services,
LLC.",$G$27=499,$G$27<=999),0.75,IF(AND($A$10="qu anta utility services,
LLC.",$G$27=1000,$G$27<=1999),0.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=2000,$G$27<=4999),9.99,IF(AND($A$10=" quanta utility services,
LLC.",$G$27=5000),19.99)))))=IF(AND($A$10="quanta utility services,

LLC.",$G$27<499),0.33,IF(AND($A$10="Pumpco.",$G$27 =499,$G$27<=999),0.75,IF(
AND($A$10="Pumpco.",$G$27=1000,$G$27<=1999),0.99, IF(AND($A$10="Pumpco.",$G$
27=2000,$G$27<=4999),9.99,IF(AND($A$10="Pumpco.", $G$27=5000),19.99)))))
This returns a value of false.
Any help would be appreciated
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
How do u emulate nesting seven IF functions in a cell? Arpee Ong Excel Worksheet Functions 2 February 9th 06 06:30 AM
Nesting VLOOKUP functions CroatWonder Excel Worksheet Functions 4 August 4th 05 07:48 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM
What is the syntax for nesting functions such as IF AND? Lane CC Laura Excel Worksheet Functions 1 February 11th 05 03:07 AM
nesting 18 x functions Jenny Excel Worksheet Functions 3 December 2nd 04 12:01 PM


All times are GMT +1. The time now is 02:02 AM.

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"