+ Reply to Thread
Results 1 to 6 of 6

Formula too long for Formula.Array

  1. #1
    Registered User
    Join Date
    10-26-2015
    Location
    USA
    MS-Off Ver
    Office 2007
    Posts
    19

    Formula too long for Formula.Array

    I have a formula that is 300+ characters, too long to insert as an Array Function with VBA. It cannot be broken up

    Here is the script:

    Please Login or Register  to view this content.
    I have read there are two solutions to the problem: breaking up the formula, and or having code which types in the CTRL+SHIFT+ENTER to transform the equation into an array after it's dropped in a cel.

    Which method would be better, and how do I apply it to this situation?

  2. #2
    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
    52,929

    Re: Formula too long for Formula.Array

    Not sure if this will help or not, but you dont need to use double "", you can just use...
    =IF(ISBLANK(D4),"",.........etc
    this will take a bunch of unnecessary characters from that
    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

  3. #3
    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
    52,929

    Re: Formula too long for Formula.Array

    deleted my triplicate post
    Last edited by FDibbins; 02-09-2016 at 12:32 AM.

  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
    52,929

    Re: Formula too long for Formula.Array

    deleted my triplicate post

    (you could say that, Trevor lol)
    Last edited by FDibbins; 02-09-2016 at 12:32 AM.

  5. #5
    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
    44,425

    Re: Formula too long for Formula.Array

    Bit of an echo there Ford ...
    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


  6. #6
    Registered User
    Join Date
    10-26-2015
    Location
    USA
    MS-Off Ver
    Office 2007
    Posts
    19

    Re: Formula too long for Formula.Array

    The """" seems necessary for inserting formula, I get run-time errors if they're not in the equation.

+ 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. [SOLVED] Long Formula Array
    By henxan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2014, 09:03 AM
  2. Shortening of long array formula by short formula
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2013, 05:51 AM
  3. [SOLVED] Array Formula taking too Long
    By gborja888 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2012, 03:41 AM
  4. [SOLVED] Cannot get specific array formula to work with VBA? (LONG CODE)
    By magicbob007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2012, 10:22 PM
  5. Long Array Formula VBA
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-27-2011, 08:57 AM
  6. Long Array Formula Problem
    By tnederlof in forum Excel General
    Replies: 12
    Last Post: 08-20-2009, 02:55 PM
  7. Excel (2003) array formula taking too long
    By Krazy Kasper in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2008, 11:26 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