+ Reply to Thread
Results 1 to 3 of 3

Fomula Too Long when Applying Names to ranges....

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Fomula Too Long when Applying Names to ranges....

    Hi all

    I'm attempting to replace some range references in my formulae with defined Names. A typical formual looks like this:

    =IF($C13="T",SUMIFS($I$10:$I$421,$A$10:$A$421,CELL("contents",$A13),$C$10:$C$421,"=B",$D$10:$D$421,">30 Jun 2008",$D$10:$D$421,"<1 Jul 2009"),"")

    I've defined names for the 4 distinct ranges you see in this formula.

    When I attempt to apply these names, Excel responds with: "Formula is too long. Formulas may not exceed 8192 characters." [Note: I'm using Excel 2010.]

    Any ideas?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Fomula Too Long when Applying Names to ranges....

    Maybe you should attach a sample of the workbook (void of confidential data)...

    Also, why are you using Cell("Contents",$A13) and not just $A13?
    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 Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    MS 2007, 2010
    Posts
    12,336

    Re: Fomula Too Long when Applying Names to ranges....

    I had no problem applying Table1, Table2, Table3 and Table4 to your formula in Excel 2007. As NBVC said, attach a workbook so we can troubleshoot.
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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