+ Reply to Thread
Results 1 to 4 of 4

Formula too long

Hybrid View

  1. #1
    Registered User
    Join Date
    08-08-2005
    Posts
    2

    Formula too long

    Have run into a problem using excel - it is telling me the formula I am using is too long and will not allow additional data to be entered. The excel file is a payroll where worksheets are used to calculate the pay. That information is then transferred to the Master worksheet (gross summary) then certain fields within the worksheets are selected as part of the formula on the master. All worked fine until now when trying to add infomation to the formula due to additional worksheets being added ... the comment formula too long will not allow additional data and therefore unable to get the master sheet to balance.

    The formula being used is as follows - =Eyears!C16+Eyears!C19+Eyears!C22+ and picks up data from another 30+ employees. Any help / suggestions would be appreciated!

  2. #2
    Roy Wagner
    Guest

    RE: Formula too long

    Glenlisa,

    It sounds like you need to break it up a little. You can use intermediary
    cells with subtotals for example, and then have your master cell add up the
    subtotals. Alternatively, you could use vba code to process the cell
    containing the extra long formula. It might help if you pasted the whole
    formula you are trying to use. It's sometimes easier to envision the solution
    when you can see the whole problem.

    Roy

    --
    (delete .nospam)




    "glenlisa" wrote:

    >
    > Have run into a problem using excel - it is telling me the formula I am
    > using is too long and will not allow additional data to be entered. The
    > excel file is a payroll where worksheets are used to calculate the pay.
    > That information is then transferred to the Master worksheet (gross
    > summary) then certain fields within the worksheets are selected as part
    > of the formula on the master. All worked fine until now when trying to
    > add infomation to the formula due to additional worksheets being added
    > ... the comment formula too long will not allow additional data and
    > therefore unable to get the master sheet to balance.
    >
    > The formula being used is as follows -
    > =Eyears!C16+Eyears!C19+Eyears!C22+ and picks up data from another 30+
    > employees. Any help / suggestions would be appreciated!
    >
    >
    > --
    > glenlisa
    > ------------------------------------------------------------------------
    > glenlisa's Profile: http://www.excelforum.com/member.php...o&userid=26069
    > View this thread: http://www.excelforum.com/showthread...hreadid=394063
    >
    >


  3. #3
    Registered User
    Join Date
    08-08-2005
    Posts
    2

    Formula too long

    The breaking up of the formula works as it should! Thanks

  4. #4
    Biff
    Guest

    Re: Formula too long

    Hi!

    > =Eyears!C16+Eyears!C19+Eyears!C22+


    If the pattern of every 3rd cell is constant:

    =SUMPRODUCT(--(MOD(ROW(Eyears!C16:C150),3)=1),Eyears!C16:C150)

    Biff

    "glenlisa" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Have run into a problem using excel - it is telling me the formula I am
    > using is too long and will not allow additional data to be entered. The
    > excel file is a payroll where worksheets are used to calculate the pay.
    > That information is then transferred to the Master worksheet (gross
    > summary) then certain fields within the worksheets are selected as part
    > of the formula on the master. All worked fine until now when trying to
    > add infomation to the formula due to additional worksheets being added
    > .. the comment formula too long will not allow additional data and
    > therefore unable to get the master sheet to balance.
    >
    > The formula being used is as follows -
    > =Eyears!C16+Eyears!C19+Eyears!C22+ and picks up data from another 30+
    > employees. Any help / suggestions would be appreciated!
    >
    >
    > --
    > glenlisa
    > ------------------------------------------------------------------------
    > glenlisa's Profile:
    > http://www.excelforum.com/member.php...o&userid=26069
    > View this thread: http://www.excelforum.com/showthread...hreadid=394063
    >




+ 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