Closed Thread
Results 1 to 4 of 4

Macro or formula that calculates average for a single cell with changing value over time

  1. #1
    Registered User
    Join Date
    09-16-2021
    Location
    St. Louis, MO US
    MS-Off Ver
    MS Home Office and Business 2016
    Posts
    4

    Macro or formula that calculates average for a single cell with changing value over time

    Is there a way to create a formula or macro that will provide the average over a set time of a single Excel cell that is changing value about once a second?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Macro or formula that calculates average for a single cell with changing value over t

    This appears to be an Excel question rather than Access, so I will move it if you confirm this.

    In the meantime, how is the cell being updated? It cannot be done with a formula, but depending on the update method can be done with VBA.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    09-16-2021
    Location
    St. Louis, MO US
    MS-Off Ver
    MS Home Office and Business 2016
    Posts
    4

    Re: Macro or formula that calculates average for a single cell with changing value over t

    the cell is being updated by a signal that is imported from an outside source. It is like a temperature transmitter and the temperature goes up and down. I want to create a rolling average over some specified time and report the average value and whether it is increasing or decreasing.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Macro or formula that calculates average for a single cell with changing value over t

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...oving-avg.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula--Average That Automatically Calculates and Updates?
    By msk8tlyn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2021, 03:50 PM
  2. Macro that calculates average of a column and skips 0 or #VALUE!
    By Tmc2159 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2013, 01:56 PM
  3. Average formula that starts at first cell>0 and calculates blank cells as 0?
    By bradtredo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-20-2012, 05:54 PM
  4. Time Tracker - I need a macro that calculates the time spent on an activity
    By amark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2011, 09:55 AM
  5. Replies: 1
    Last Post: 03-11-2010, 09:12 AM
  6. Changing the Answer formula calculates
    By johnlyons in forum Excel General
    Replies: 6
    Last Post: 01-08-2009, 06:43 PM
  7. macro that calculates average
    By jaguarr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2005, 08:05 PM

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