+ Reply to Thread
Results 1 to 5 of 5

Unable to reduce the number of nesting in If OR AND formula with many nesting level

  1. #1
    Registered User
    Join Date
    10-27-2014
    Location
    UK
    MS-Off Ver
    7
    Posts
    43

    Unable to reduce the number of nesting in If OR AND formula with many nesting level

    Hi,

    Is there any way to shorten the below formula : I am not able to use index and match because it needs to refer to more than one column e.g, if its local special or locally sourced column AC needs to be checked and if its Factory Source or Factory Special column X needs to be checked:

    Please Login or Register  to view this content.
    Thank You in advance!!

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Unable to reduce the number of nesting in If OR AND formula with many nesting level

    maybe your file in advance?

  3. #3
    Registered User
    Join Date
    10-27-2014
    Location
    UK
    MS-Off Ver
    7
    Posts
    43

    Re: Unable to reduce the number of nesting in If OR AND formula with many nesting level

    I am sorry I did not understand !!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Unable to reduce the number of nesting in If OR AND formula with many nesting level

    I am not able to use index and match because it needs to refer to more than one column
    We wold have to see what you are working with, to determine if that is a valid comment, please upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    In the mean time, you can probably shorten that with wild-cards....
    OR(AND(F1140="locally Sourced",AC1140=$AC$1329),AND(F1140="local Special",AC1140=$AC$1329))
    can probably be shortened to...
    AND(F1140="local*",AC1140=$AC$1329)
    (untested)

    Also, it is easier to trouble-shoot a formula if you break it down with spaces like this...
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    10-27-2014
    Location
    UK
    MS-Off Ver
    7
    Posts
    43

    Re: Unable to reduce the number of nesting in If OR AND formula with many nesting level

    Hi.. Thank you for the response and sorry for not presenting the data more clearly.

    I have attached the excel with a simple format and reduced option so please have a look and let me know if they can be shortened.

    FDibbins, I tried the wild card Local* but if did not work, is there any other alternative?

    Many thanks for all the help
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How To Overcome 7 Level Limit For Nesting IF Statements?
    By lsargent in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-25-2012, 04:56 AM
  2. Exceeded number of allowed nesting functions
    By cspearman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-19-2011, 10:13 AM
  3. reduce levels of nesting
    By Clark in forum Excel General
    Replies: 2
    Last Post: 05-08-2009, 01:00 AM
  4. nesting level
    By jayeshtrivedi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-08-2008, 11:56 AM
  5. [SOLVED] Nesting level limits
    By DJ Magic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 12:10 AM

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