+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Nesting Issue

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Springfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Nesting Issue

    Can someone kindly help me with the following formula. The formula is working in one workbook but not another. I keep getting a nesting error. Thanks so much.

    =IF(OR(A14={1,4,7,10}),1,IF(OR(A14={2,5,8,11}),2,IF(OR(A14={3,6,9,12}),3,IF(OR(A14={13,16,19,22}),4,IF(OR(A14={14,17,20,23}),5,IF(OR(A14={15,18,21,24}),6,IF(OR(A14={25,28,31,34}),7,IF(OR(A14={26,29,32,35}),8,IF(OR(A14={27,30,33,36}),9,0)))))))))

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Nesting Issue

    Are you by any chance changing between 2003 an 2007?

    I would look into building a lookup table.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Springfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Nesting Issue

    Thanks so much. Yes, I am switching between 03 and 07. I suppose I'll try saving as an 07 file and see if that works. I am unfamiliar with LOOKUP table.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Nesting Issue

    A lookup table is nothing but two columns, first column holds the lookup value and second column holds what you want to return.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-11-2012
    Location
    Springfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Nesting Issue

    Perfect. Thanks so much. Greatly appreciated.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Nesting Issue

    You are very welcome. Glad it works for you and thanks for the feedback

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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