+ Reply to Thread
Results 1 to 11 of 11

Nesting formulae

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Nesting formulae

    Whats the most levels of nesting you can have on Excel 2010?

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Nesting formulae

    Hi
    There is no technical limit but I am sure there would be a feasible limit. :-).
    Tony

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nesting formulae

    64

    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Nesting formulae

    Thanks

    I thought it was something stupidly high like that but my excel keeps telling me off for using more than about 19 if i'm calculating it correct:


    "IF(COUNTIF(H59,"*"&VLOOKUP(B59,$AC$10:$AK$109,7,FALSE)&"*"),VLOOKUP(B59,$AC$10:$AI$111,7,FALSE),IF(COUNTIF(H59,"*"&VLOOKUP(B59,$AC$10:$AK$109,8,FALSE)&"*"),VLOOKUP(B59,$AC$10:$AK$109,8,FALSE),IF(COUNTIF(H59,"*"&VLOOKUP(B59,$AC$10:$AK$109,9,FALSE)&"*"),VLOOKUP(B59,$AC$10:$AK$109,9,FALSE),IF(COUNTIF(H59,"*"&VLOOKUP(B59,$AC$10:$AL$109,10,FALSE)&"*"),VLOOKUP(B59,$AC$10:$AL$109,10,FALSE),IF(COUNTIF(H59,"*"&VLOOKUP(B59,$AC$10:$AM$109,11,FALSE)&"*"),VLOOKUP(B59,$AC$10:$AM$109,11,FALSE)," ")))))"

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nesting formulae

    What's in B59 and H59?

  6. #6
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Nesting formulae

    B59 is basically the same as a primary key in access. It is a number string that multiple cells use to reference against another table.


    H59 has a text string. So the vlookup for H59 checks to see if it contains a certain text string.

    My sheet is a bit big to up load on here.


    This is to do with my work, so it is all to do with part numbers for fittings.

    I have one vlookup table that has;

    identifier, product family, lamp type 1/ lamp type 2/ lamp type 3.

    So the lookups are saying:

    If Cell H59 has one of the same lamps as in the reference, then enter the lamp type that it matches. and this checks 3-5 different lamps

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nesting formulae

    Quote Originally Posted by Locopete99 View Post
    My sheet is a bit big to up load on here.
    Can you make up a SMALL sample file that demonstrates what you're wanting to do? About 20 rows worth of data should be plenty.

    It looks like we only need to see columns B, H, AC:AK. All other columns would be irrelavant and just add "clutter" to the sample file.

  8. #8
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Nesting formulae

    I've attached the smallest version I can that gives you an idea of what im trying to do
    Last edited by Locopete99; 05-15-2013 at 10:05 AM.

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nesting formulae

    Eh, that's too big for me.

    I have a personal rule where I won't look at files that are >50kb.

    Maybe someone else will have a look.

  10. #10
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Nesting formulae

    No problem, I cant keep the file up as its company rules.
    I'm sure i'll find a way to do it.

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nesting formulae

    Instead of posting an actual work file just make up a SMALL file with fake made up dummy data that demonstrates what you want to do.

+ 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