+ Reply to Thread
Results 1 to 2 of 2

1,2, and 3 day moving averages

  1. #1
    Registered User
    Join Date
    08-03-2022
    Location
    San Francisco, CA
    MS-Off Ver
    MS 365
    Posts
    1

    1,2, and 3 day moving averages

    Hi All,

    I have 15 min data and I need to calculate 1,2, and 3 day moving averages based off of hourly updates. The excel moving average function updates moving averages every 15 min. For example it asked for a interval and I input 97 (# of 15min entries in a day) and it averages =Average(B2:B99), =Average(B3:B100), =Average(B4:B101), etc. I would like a moving average like this but based on hourly updates not 15 min., is this possible?

    30+ days of data is formatted like:

    Date (col A) Data (col B)

    10/3/02 20:45 73.28
    10/3/02 21:00 72.98
    10/3/02 21:15 73.33
    10/3/02 21:30 73.03
    10/3/02 21:45 73.28
    10/3/02 22:00 73.21
    10/3/02 22:15 73.21
    10/3/02 22:30 73.34
    10/3/02 22:45 73.01
    10/3/02 23:00 72.95
    10/3/02 23:15 72.95
    10/3/02 23:30 73.29
    10/3/02 23:45 73.27
    10/4/02 0:00 73.21
    10/4/02 0:15 73.09
    10/4/02 0:30 73.43
    10/4/02 0:45 73.42
    10/4/02 1:00 44.66
    10/4/02 1:15 10.33
    10/4/02 1:30 10.33
    10/4/02 1:45 10.33
    10/4/02 2:00 10.33
    10/4/02 2:15 10.33
    10/4/02 2:30 10.33

    Any help with a formula would be much appreciated, Thanks!

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: 1,2, and 3 day moving averages

    For 1-day average try in Cell C98 and copy down:

    Please Login or Register  to view this content.
    etcetera.
    Attached Files Attached Files
    Last edited by HansDouwe; 08-03-2022 at 03:41 PM.

+ 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. Moving Averages And the First Few Data Points
    By ashleys.nl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2012, 02:00 AM
  2. Simple Moving Averages & VB Coding
    By ashleys.nl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 08:34 PM
  3. Moving Averages
    By dannylfc_1 in forum Excel General
    Replies: 1
    Last Post: 08-06-2011, 12:51 PM
  4. Moving averages
    By Loukas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2010, 03:51 PM
  5. Moving Averages
    By John Bates in forum Excel General
    Replies: 9
    Last Post: 06-21-2010, 04:31 PM
  6. [SOLVED] Any software for charting moving averages?
    By socraticquest in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2005, 01:15 PM
  7. Moving averages in Excel
    By Tom in forum Excel General
    Replies: 8
    Last Post: 06-10-2005, 10:05 PM
  8. moving averages
    By antongucci in forum Excel General
    Replies: 0
    Last Post: 03-01-2005, 06:38 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