+ Reply to Thread
Results 1 to 2 of 2

Creating a List in which Each Number is the Sum of the Previous N Numbers

  1. #1
    Forum Contributor
    Join Date
    12-07-2004
    Posts
    596

    Creating a List in which Each Number is the Sum of the Previous N Numbers

    Problem:

    We want to create a sequence of numbers where each member of the sequence is the sum of the previous N number of values.

    Solution:

    Use the SUM, OFFSET, INDIRECT, ADDRESS, ROW, and COLUMN functions as shown in the following formula:
    =SUM(OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())),0,-1,1,-2))

  2. #2
    Registered User
    Join Date
    12-22-2005
    Posts
    1

    Unhappy Indirect Function

    I have a question on the portion of the formula on page 329: Indirect(Address(Row(),Column())).


    When I audit this formula it results in the cell address. Why is that? Doesn't this result in a circular reference? If I input just this formula in a cell I get a circular error? What am I not understanding about the properties of the INDIRECT function? Thank you for your help.

+ 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