Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Omakbob
 
Posts: n/a
Default Is there a maximum number of constraints...

....that I can put in an IF formula?
I have a chart with age bands (i.e 20-24, 25-29, 30-35, etc. and
corresponding amounts for those age bands (247.84, 256.69, 274.39,
respectively).

My current formula reads:

=IF(I116<25,247.84,IF(I116<30,256.69,IF(I116<35,27 4.39,IF(I116<40,295.63,IF(I116<45,322.21,IF(I116<5 0,354.08,IF(I116<55,404.51,IF(I116<60,490.7,IF(I11 6<65,652.03,IF(I116=65,884.34,N/A))))))))

Excel is giving me an error message at the IF where IF(I116<65,652.03....

I've double checked to make sure there are no spaces, and when I remove that
constraint and the ones that follow, the formula works.

Help?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Is there a maximum number of constraints...

Take a look at the VLOOKUP() function in HELP.

Or find extra info he

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

--
Kind regards,

Niek Otten

"Omakbob" wrote in message
...
...that I can put in an IF formula?
I have a chart with age bands (i.e 20-24, 25-29, 30-35, etc. and
corresponding amounts for those age bands (247.84, 256.69, 274.39,
respectively).

My current formula reads:

=IF(I116<25,247.84,IF(I116<30,256.69,IF(I116<35,27 4.39,IF(I116<40,295.63,IF(I116<45,322.21,IF(I116<5 0,354.08,IF(I116<55,404.51,IF(I116<60,490.7,IF(I11 6<65,652.03,IF(I116=65,884.34,N/A))))))))

Excel is giving me an error message at the IF where IF(I116<65,652.03....

I've double checked to make sure there are no spaces, and when I remove
that
constraint and the ones that follow, the formula works.

Help?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Is there a maximum number of constraints...

I didn't answer your original question;

There is a limit of 7 nested functions

--
Kind regards,

Niek Otten

"Niek Otten" wrote in message
...
Take a look at the VLOOKUP() function in HELP.

Or find extra info he

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

--
Kind regards,

Niek Otten

"Omakbob" wrote in message
...
...that I can put in an IF formula?
I have a chart with age bands (i.e 20-24, 25-29, 30-35, etc. and
corresponding amounts for those age bands (247.84, 256.69, 274.39,
respectively).

My current formula reads:

=IF(I116<25,247.84,IF(I116<30,256.69,IF(I116<35,27 4.39,IF(I116<40,295.63,IF(I116<45,322.21,IF(I116<5 0,354.08,IF(I116<55,404.51,IF(I116<60,490.7,IF(I11 6<65,652.03,IF(I116=65,884.34,N/A))))))))

Excel is giving me an error message at the IF where IF(I116<65,652.03....

I've double checked to make sure there are no spaces, and when I remove
that
constraint and the ones that follow, the formula works.

Help?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Omakbob
 
Posts: n/a
Default Is there a maximum number of constraints...

I'll try Vlookup.

Thanks Niek


"Niek Otten" wrote:

I didn't answer your original question;

There is a limit of 7 nested functions

--
Kind regards,

Niek Otten

"Niek Otten" wrote in message
...
Take a look at the VLOOKUP() function in HELP.

Or find extra info he

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

--
Kind regards,

Niek Otten

"Omakbob" wrote in message
...
...that I can put in an IF formula?
I have a chart with age bands (i.e 20-24, 25-29, 30-35, etc. and
corresponding amounts for those age bands (247.84, 256.69, 274.39,
respectively).

My current formula reads:

=IF(I116<25,247.84,IF(I116<30,256.69,IF(I116<35,27 4.39,IF(I116<40,295.63,IF(I116<45,322.21,IF(I116<5 0,354.08,IF(I116<55,404.51,IF(I116<60,490.7,IF(I11 6<65,652.03,IF(I116=65,884.34,N/A))))))))

Excel is giving me an error message at the IF where IF(I116<65,652.03....

I've double checked to make sure there are no spaces, and when I remove
that
constraint and the ones that follow, the formula works.

Help?






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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
What is the maximum allowed number of data elements in a data array? [email protected] Excel Discussion (Misc queries) 2 April 7th 05 06:56 PM
getting the number of the row with the maximum value hilbert Excel Discussion (Misc queries) 3 April 5th 05 01:06 PM
maximum number of spreadsheets in one workbook Hoosier Refiner Excel Discussion (Misc queries) 2 April 2nd 05 08:16 PM
what is maximum number of colums in worksheet? [email protected] Excel Discussion (Misc queries) 3 February 8th 05 12:46 AM


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