+ Reply to Thread
Results 1 to 6 of 6

Max Formula length in cell !?

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Max Formula length in cell !?

    I have a formula, about 560 characters length
    Copied 14 times, cell length become 7842
    I can not add another copy (560 length), 15th one
    What to do ?
    I have Office 365

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Max Formula length in cell !?

    What to do?
    Find a better formula

    See specs of limits
    https://support.office.com/en-us/art...7-269d656771c3

    it is over 32.000 characters, so that is not it..

    But formulas have limits too
    most common example is nested IF do not know what the exact limit is now..
    if you have a lot of nested if, see if the new IFS formula in office 365 can handle it better.

    otherwise provide more details on the formula or google yourself for limits on specific formulas

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Max Formula length in cell !?

    There should definitely be ways around that formula (unless you've used a lot of embedded text).

    Explain what you're trying to achieve and (dare I say it) paste a COUPLE of your formulas so we can try and identify a pattern.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Max Formula length in cell !?

    14 copy, 7842 works
    15 copy, 8406 do not
    in formula is one IFERROR and one IF
    564 formula length
    Last edited by ionelz; 01-21-2019 at 02:09 PM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,385

    Re: Max Formula length in cell !?

    What's the formula? Please post three sections (copies) to give us an idea
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Max Formula length in cell !?

    How exactly is it not working? Does it throw a particular error code?

    This is all baseless speculation without seeing samples, but I can also imagine that, on top of going over some limit on arguments into a function, it might be pulling through a bad reference (the #REF! error), or you might be running into a special case with this new row where it just happens that set of arguments is doing something unallowed like dividing by zero (the #DIV/0! error). Those are just off the top of my head.

    With a function that dang long, you're going to run into serious readability risk -- it's very hard to figure out what it is doing, nevermind figuring out if it's doing what you think it's supposed to be doing.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

+ 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. Cut length optimization with multi length stocks and multi length orders
    By badri.rakesh in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-23-2023, 06:50 PM
  2. Cell length formula to remove any characters over 31 in length
    By tehkayd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2015, 11:45 AM
  3. [SOLVED] Shorten string length if exceeds 31 characters (max sheet name length)
    By r2fro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2014, 05:57 AM
  4. Replies: 7
    Last Post: 01-25-2014, 07:53 AM
  5. [SOLVED] Finding a formula that will consider length of cell and length of words
    By Mariah B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2013, 05:39 PM
  6. [SOLVED] Cell length VBA to add trailing characters until a specified length is reached
    By bkeller83 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2013, 10:43 PM
  7. formula to standarize cell length
    By JT in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2005, 05:06 PM

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