+ Reply to Thread
Results 1 to 7 of 7

Formula too big at 1,024 characters

  1. #1
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852

    Formula too big at 1,024 characters

    It seems excel formulas are limited to 1024 characters.

    For the first time in my life I saw this error message.

    Any way to increase this limit?
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Only by upgrading to 2007... where you have 8000+ chars allowed.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe you should look at shortening the formula ??

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    I cant see a way considering the formula. I got a work around for it by spliting the formula in 2 and using 2 cells.

    This formula is concatenating the results of 12 Vlookup formulas from 12 different worksheets.

    See the thread

    http://www.excelforum.com/showthread...=636991&page=2

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    I see what you mean now.

    You may be able to save a few characters by using the ISNA instead of ISERROR. Also if the OP changed the sheet names from whole months to first three characters.

    VBA Noob

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by Portuga
    I cant see a way considering the formula. I got a work around for it by spliting the formula in 2 and using 2 cells.

    This formula is concatenating the results of 12 Vlookup formulas from 12 different worksheets.

    See the thread

    http://www.excelforum.com/showthread...=636991&page=2
    If the OP downloads and installs the free Morefunc.xll addin from this site: http://xcell05.free.fr/english/

    Then they could use:
    Please Login or Register  to view this content.
    The THREED function creates an array joining all ranges in all sheets.

    To avoid the #N/A error:

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Hi,

    Shg posted a good solution in the OP thread. Adding the IFERRORS function using VB code (IFERRORS function is available on excel2007), its possible to cut down the number of characters needed to 590.

    Thanks for the input guys!

+ 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