+ Reply to Thread
Results 1 to 4 of 4

Retaining formula

  1. #1
    Forum Contributor
    Join Date
    08-20-2005
    Posts
    171

    Retaining formula

    In B1 I have a formula: sum(B3:B9),
    if i now insert a row in B3 the formula changes to sum(B4:B10),
    how do I keep the formula as sum(B3:B9) when inserting the line.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    08-02-2005
    Posts
    102
    Not sure what you're after here - do you want the formula to include the line you've inserted, skip it or ignore it?
    If you don't want the formula to include the inserted line, then you should either insert it below the limit of the fornula or (more complicated) edit the formula to skip the inserted line - something like sum(b3:b6)+sum(b8:b10) thereby skipping row 7. There may be a more elegant way of getting around your problem, but unless you HAVE to insert a line in the middle of a series that are being summed why do so?

    Jon

  3. #3
    Franz Verga
    Guest

    Re: Retaining formula

    Nel post news:[email protected]
    *T De Villiers* ha scritto:

    > In B1 I have a formula: sum(B3:B9),
    > if i now insert a row in B3 the formula changes to sum(B4:B10),
    > how do I keep the formula as sum(B3:B9) when inserting the line.
    >
    > Thanks



    Hi,

    try this way:

    =SUM(INDIRECT("B3:B9"))

    --
    (I'm not sure of names of menues, option and commands, because
    translating from the Italian version of Excel...)

    Hope I helped you.

    Thanks in advance for your feedback.

    Ciao

    Franz Verga from Italy



  4. #4
    Bob Phillips
    Guest

    Re: Retaining formula

    =SUM(OFFSET(B1,2,0,7,1))

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "T De Villiers" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > In B1 I have a formula: sum(B3:B9),
    > if i now insert a row in B3 the formula changes to sum(B4:B10),
    > how do I keep the formula as sum(B3:B9) when inserting the line.
    >
    > Thanks
    >
    >
    > --
    > T De Villiers
    > ------------------------------------------------------------------------
    > T De Villiers's Profile:

    http://www.excelforum.com/member.php...o&userid=26479
    > View this thread: http://www.excelforum.com/showthread...hreadid=554452
    >




+ 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