+ Reply to Thread
Results 1 to 5 of 5

autofill indirect formula with moving average

  1. #1
    Registered User
    Join Date
    03-03-2015
    Location
    usa
    MS-Off Ver
    365 2013
    Posts
    3

    autofill indirect formula with moving average

    Hello Everyone, thanks in advance for any help!

    I have data in column $F that has a row deleted and added every 5min. The column next to $F is calculating a moving average off of it every 5 rows. =average(indirect("A4:A8")) does the trick, but will not autofill down, which would be great because their's 500 rows and several columns. I've tried so many variations of above average with the "&rows()".
    for example =average(indirect("f"&row(F4)):indirect("f"&row(F8))) but cant get it to select column $F in its entirety to give a chance. I'm fairly new at excel and have been working on this problem for longer than I'd like to admit.

    any help will be appreciated more than you could imagine thanks,
    Jeff

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: autofill indirect formula with moving average

    If I understand correctly, you want the formula to apply to all of column F, if so, try this
    Please Login or Register  to view this content.
    Last edited by gmr4evr1; 03-03-2015 at 06:48 PM. Reason: Corrected typo
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    03-03-2015
    Location
    usa
    MS-Off Ver
    365 2013
    Posts
    3

    Re: autofill indirect formula with moving average

    hi, thanks for your response and yes that is correct. I need formulas to stay in column F in original rows, after deleting or adding a row in column F.
    I tried =AVERAGE(INDIRECT("F:F")&ROW(f4:f8)) it averages right and autofills, but after rows are deleted and added I get #ref! error.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: autofill indirect formula with moving average

    Sorry to say this, but, I am stumped too. I mean if the referenced rows (F4:F8) are being deleted, then that is why you are getting the #ref! error. The stumped part for me, I don't know how to fix this.

  5. #5
    Registered User
    Join Date
    03-03-2015
    Location
    usa
    MS-Off Ver
    365 2013
    Posts
    3

    Re: autofill indirect formula with moving average

    Hey, that's okay. thank you very much for your efforts and have a good one!

+ 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. Replies: 1
    Last Post: 10-20-2014, 03:20 PM
  2. help with moving average formula
    By fiat124cc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-01-2013, 10:43 PM
  3. [SOLVED] Formula Moving Average
    By calan in forum Excel General
    Replies: 11
    Last Post: 06-12-2012, 01:35 PM
  4. Moving Weighted Average formula
    By Ori in forum Excel General
    Replies: 8
    Last Post: 08-22-2011, 12:51 PM
  5. Moving Weighted Average formula
    By magickingdl in forum Excel General
    Replies: 2
    Last Post: 09-29-2008, 01:59 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