+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    Registered User
    Join Date
    Sydney, Australia
    MS-Off Ver
    Office 365

    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
    Mississauga, CANADA
    MS-Off Ver

    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
    MS-Off Ver

    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.
    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)


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