#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default IF(AND( formula

Is there a maximum number of IF(AND's i can use in a formula or can it be as
many as required?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default IF(AND( formula

The limit is 8 nested functions in Excel 2003 and earlier, 64 in Excel 2007.
If you need more than 8, there might be a more efficient and manageable way
to write the formula.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Afsha" wrote in message
...
Is there a maximum number of IF(AND's i can use in a formula or can it be
as
many as required?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default IF(AND( formula

Yes, there are limits, but it depends which version of Excel you have. There
are two limits that you'd need to be concerned with:

Length of formula. In Excel 2003 and earlier, a formula can only contain
1024 characters. In Excel 2007, the limit is increased to 8192 characters.

Levels of Nesting. In Excel 2003 and earlier, you may only nest (placing a
function inside of another function) up to 7 levels deep. In Excel 2007, the
limit is increased to 64 levels.

So, in answer to your question, there is no limit (other than total
characters) to how many IF(AND functions you can use. However, there is a
limit on how deep you can nest them inside of one another.

HTH,
Elkar


"Afsha" wrote:

Is there a maximum number of IF(AND's i can use in a formula or can it be as
many as required?

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



All times are GMT +1. The time now is 11:44 PM.

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"