+ Reply to Thread
Results 1 to 3 of 3

Append previous cell data

  1. #1
    Registered User
    Join Date
    12-12-2006
    Posts
    7

    Append previous cell data

    I'm inputing numbers into a cell and I'd like another cell to retain the previous number and append it to the "=average" formula.

    For instance:
    Cell 1 = 455
    Cell 2 = =Average(Cell1)

    Then:
    Cell 1 = 575
    Cell 2 = =Average(455, Cell 1)

    And so on, and so on.

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    Put this in a Module:

    Please Login or Register  to view this content.
    I used cell A1 as cell1 and any other cell as cell2. Put this formula in cell2:
    =runningAverage(A1)

  3. #3
    Registered User
    Join Date
    12-12-2006
    Posts
    7

    Thanks

    Works great, thanks!

+ 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