+ Reply to Thread
Results 1 to 5 of 5

Nested IF Function Errors - Help! ASAP

  1. #1
    Registered User
    Join Date
    11-18-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    6

    Nested IF Function Errors - Help! ASAP

    Hi All,

    I'm doing a nested IF function but keep getting "you have entered too many arguments for this function". So my cell says #VALUE. Please help.

    =IF(D2>25,"Link Text is too Long. 25 Characters max.","No errors found"),(IF(E2>35,"Description Line 1 is too Long. 35 Characters max.","No errors found"))

    Warm regards,
    Vilac

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Nested IF Function Errors - Help! ASAP

    try
    wrong formula: see Ford #4 post if in cells hes a numbers
    or
    =IF(LEN(D2)>25,"Link Text is too Long. 25 Characters max.",IF(LEN(E2)>35,"Description Line 1 is too Long. 35 Characters max.","No errors found"))
    Last edited by sandy666; 02-11-2017 at 01:45 PM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,526

    Re: Nested IF Function Errors - Help! ASAP

    Deleted. Formula incorrect.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  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
    53,049

    Re: Nested IF Function Errors - Help! ASAP

    Try this...
    =IF(E2>35,"Description Line 1 is too Long. 35 Characters max.",if(D2>25,"Link Text is too Long. 25 Characters max.","No errors found"))

    edit: by putting the > 25 part 1st, that will always trigger, even if the value is > 35
    Last edited by FDibbins; 02-11-2017 at 01:36 PM.
    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
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Nested IF Function Errors - Help! ASAP

    @Ford

    correct as usual

+ 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. Nested Relative references in VBA - Errors for what should be easy
    By mangoose736 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2016, 02:26 PM
  2. [SOLVED] Nested If Statement with errors
    By ypurcaro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2015, 01:51 AM
  3. Need Help with Nested Errors and Selenium
    By BYizz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2014, 10:02 AM
  4. Nested IF Function- Dire need of help please ASAP
    By momrkof4 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-07-2012, 02:57 PM
  5. Replies: 1
    Last Post: 02-14-2012, 09:44 AM
  6. User function- Could use help ASAP
    By cnr5000 in forum Excel General
    Replies: 1
    Last Post: 12-09-2010, 06:56 PM
  7. Nested Formula Errors
    By sleepmaps in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2010, 08:13 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