+ Reply to Thread
Results 1 to 4 of 4

Linked formula

Hybrid View

mm0170 Linked formula 06-06-2007, 05:45 AM
tek Is the formula exactly the... 06-06-2007, 06:57 AM
mm0170 For example: In May, I... 06-06-2007, 07:19 AM
Mark@Work You Might be able to get the... 06-06-2007, 08:04 AM
  1. #1
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517
    You Might be able to get the effect you want by using the INDIRECT() function.
    With this function you can construct a text representation of a cell address or a range.

    Thus INDIRECT("A1") returns the value in the cell A1,
    and SUM(INDIRECT("A1:A6")) returns the sum of the cells A1 to A6.

    What you can now do is set B1="A1:A6" then use SUM(INDIRECT(B1)).
    So B1 contains the text representation of the range of cells you want to sum
    and the eventual result is the sum of the cells A1 to A6.

    If you also included the OFFSET() function it should be possible to construct a formula that will allow all the required ranges to be altered in response to the value of B1.

    Thus set B1="A1"
    then SUM(OFFSET(INDIRECT(B1),0,0,6,0))

    Mark
    Last edited by Mark@Work; 06-06-2007 at 08:08 AM.

+ 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