+ Reply to Thread
Results 1 to 11 of 11

Nested IF limit problem

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    France
    MS-Off Ver
    Excel 2003
    Posts
    3

    Nested IF limit problem

    Hi,
    I am having difficulty with what initially seemed a simple problem until I exceeded the nested IF limits

    Please see attached spreadsheet, I have explained the problem I am having on the spreadsheet.

    Many thanks in advance for your help
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested IF limit problem

    Welcome to the Board.

    Does this work for you ?

    G3: =IF($F3=0,0,IF($G2,$G2,LOOKUP(2,1/($G$2:$G2<>0),$G$2:$G2)*-1))
    copy down as required
    (note for your own regional settings you may need to alter syntax re: use of semi-colon etc...)

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Nested IF limit problem

    Donkey,
    it seems to go wrong from G27 on

    Sorry, it's OK np.
    Last edited by arthurbr; 04-15-2009 at 08:51 AM. Reason: Correction

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested IF limit problem

    [removed in lieu of Arthur's edit]
    Last edited by DonkeyOte; 04-15-2009 at 08:58 AM.

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Nested IF limit problem

    Was correcting my post while you were typing

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Nested IF limit problem

    @Donkey, you could leave explanation.. It was interesting and educating

    @arthurbr: you can't put "to go wrong" and "Donkey" in same sentence

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Talking Re: Nested IF limit problem

    arthurbr: you can't put "to go wrong" and "Donkey" in same sentence
    That's why I added "seems" ( to avoid the "kick of the mule")

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested IF limit problem

    Quote Originally Posted by zbor View Post
    @arthurbr: you can't put "to go wrong" and "Donkey" in same sentence
    Don't make me out to be like that zbor you'll get me a bad rep...I've already had one member here accuse me of profound arrogance in the last week!
    apparently it is perfectly understandable as to why no one is presently employing me ...

  9. #9
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Nested IF limit problem

    Hope he was joking, Donkey !
    To be on the safe side I already added to your well-deserved reputation

  10. #10
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Nested IF limit problem

    I've add rep this morning as soon as I saw it's working since I've lost half hour without result trying to solve it


  11. #11
    Registered User
    Join Date
    04-15-2009
    Location
    France
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Nested IF limit problem

    Many thanks DonleyOte, that worked just fine, congratulations on such a speedy reply!

    rjw

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1