+ Reply to Thread
Results 1 to 4 of 4

Automatic Filling Cells - Formula that expands

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    2

    Automatic Filling Cells - Formula that expands

    Hello Everyone, I am currently streaming financial data into excel which updates on a minute by minute basis. Every minute a new row of data is automatically inputted based on market activity. Is there any formula/function which would expand to cover the new data as the amount of cells increases? Is there any way that I can have it so that the function/formula only looks at the last 20 or so cells, so its like a moving/rolling formula/function?

    Thank you very much,

    Ed

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Automatic Filling Cells - Formula that expands

    Totally possible.

    Convert your range into a table first, and then your referenced cells will update as new data is entered to it. Select Data -> Insert -> Table

    What are you doing with the last 20 cells?


    Here's a sum of the last 20, using Funk Master Tony Valko's formula:

    =SUM(IF(ISNUMBER(Table1[Column1]),IF(Table1[Column1]>0,IF(ROW(Table1[Column1])>=LARGE(IF(ISNUMBER(Table1[Column1]),IF(Table1[Column1]>0,ROW(Table1[Column1]))),20),Table1[Column1]))))

    This is an array formula confirmed with Ctrl+Shift+Enter, instead of exiting the cell with just Enter.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatic Filling Cells - Formula that expands

    yes, that is possible

    e.g. =SUM(A1:A20) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Automatic Filling Cells - Formula that expands

    Non array solution
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatic filling in cells
    By Lindsey H in forum Excel General
    Replies: 1
    Last Post: 06-13-2007, 11:45 AM
  2. [SOLVED] automatic filling in cells in excel
    By CA user in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. [SOLVED] automatic filling in cells in excel
    By CA user in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. automatic filling in cells in excel
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 AM
  5. [SOLVED] automatic filling in cells in excel
    By CA user in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

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