Limit to nested IF(ISNUMBER(SEARCH)) functions?
Yes, Excel is limited to 7 "layers" of nesting. Here's an alternative
approach to your formula:
=IF(ISNUMBER(SEARCH("jon",AC2)),"jon","") &
IF(ISNUMBER(SEARCH("bill",AC2)),"bill","") &
IF(ISNUMBER(SEARCH("tom",AC2)),"tom","") & etc....
HTH,
Elkar
"Jonathan Horvath" wrote:
is there a limit to the number of nests you can have in a nested
IF(ISNUMBER(SEARCH)) functions?
For example, I have one that works properly with 6; for example:
=IF(ISNUMBER(SEARCH("jon",AC2)),"jon",IF(ISNUMBER( SEARCH("bill",AC2)),"bill",IF(ISNUMBER(SEARCH("tom ",AC2)),"tom",IF(ISNUMBER(SEARCH("joe",AC2)),"joe" ,IF(ISNUMBER(SEARCH("rob",AC2)),"rob",IF(ISNUMBER( SEARCH("ted",AC2)),"ted",""))))))
if I add another nest, Excel finds an error with the last search and will
not allow it...
Thanks in advance for your help,
Jonathan
|