+ Reply to Thread
Results 1 to 10 of 10

Too many nested formulas

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Cumming, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Question Too many nested formulas

    I am trying to compare the text in let's say A1;e.g. "Consumer" for instance, to one of the text values below, and if the text matches, populate say B1 with the applicable time (in days); example 20. If the value in A1 does not match any listed below, then I would default to "30". I attempted to write this as multiple 'IF' statements but got the error "too many nested formulas". Any suggestions. I have never used the VLookup function and didn't know if that may work. I have Excel 2007.

    "Expected Turntime (all other values, default to '30')
    values must be typed exactly as written below - spacing, punctuation and capitalization must be the same"
    Better Business Bureau 20
    U.S. House of Representatives 20
    U.S. Senate 20
    Media 20
    Media NOT on behalf of customer 20
    Media on behalf of customer 20
    Consumer to Executive 20
    Federal Deposit Insurance Corporation (FDIC) 20
    Federal Reserve Bank 20
    Consumer 25

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: Too many nested formulas

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
    To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.


    On this page, below the message box, you will find a button labelled 'Manage Attachments'.
    Clicking this button will open a new window for uploading attachments.


    You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
    Alternatively you can click the Attachment Icon to open this page.


    To upload a file from your computer, click the 'Browse' button and locate the file.


    To upload a file from another URL, enter the full URL for the file in the second box on this page.
    Once you have completed one of the boxes, click 'Upload'.


    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Ben Van Johnson

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Too many nested formulas

    Yes try VLOOKUP, assuming text values listed in F1:F10 and numbers in G1:G10 try this formula in B1

    =IFERROR(VLOOKUP(A1,F$1:G$10,2,0),30)
    Audere est facere

  4. #4
    Registered User
    Join Date
    02-29-2012
    Location
    Gloucester, England
    MS-Off Ver
    Excel, Word, Access 2007 and XP
    Posts
    58

    Re: Too many nested formulas

    Can you publish the formula that you used, and upload your spreadsheet?
    Dave

    I'm no expert I just like solving problems

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Cumming, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Post Here is my spreadsheet. The values I want to lookup are on the 2nd tab/data on 1st tab

    Please see example attached.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-17-2012
    Location
    Cumming, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Too many nested formulas

    Thank you. My first time posting here.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Too many nested formulas

    Some of your entries in Expected Turn Times table have trailing spaces which means the text won't match - if you manually edit those out first then you can use this formula in B2 copied down

    =IFERROR(VLOOKUP(A2,'Expected TurnTimes'!B$4:C$13,2,0),30)

  8. #8
    Registered User
    Join Date
    09-17-2012
    Location
    Cumming, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Too many nested formulas

    It worked. Thanks so much!

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Too many nested formulas

    @ kfirecracker

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  10. #10
    Registered User
    Join Date
    09-17-2012
    Location
    Cumming, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Too many nested formulas

    Cutter,

    I appreciate your feedback since I am a new user and will follow the rules your outlined. I cannot seem to locate the link to ask a new question. Can you help me locate this please?

+ 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