+ Reply to Thread
Results 1 to 8 of 8

Keeping a formula pattern to copy to cells below

  1. #1
    Registered User
    Join Date
    03-14-2017
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    6

    Keeping a formula pattern to copy to cells below

    Hi,

    I have this sequence of formula:

    1 - 4 - AVERAGE(A2:A6)
    2 - 3.8 - AVERAGE(A1,A3:A6)
    3 - 3.6 - AVERAGE(A1:A2,A4:A6)
    4 - 3.4 - AVERAGE(A1:A3,A5:A6)
    5 - 3.2 - AVERAGE(A1:A4,A6)
    6 - 3 - AVERAGE(A1:A5)


    1-6 is just a sequence of numbers and the cell the right, calculates the average but excluding the number in that row.

    This is a simplified version of what I have and the cells go from 1 to 230 so I need to drag the formula. No matter what I attempt to do with a $ or such, excel doesn't seem to copy the correct formula sequence. I`m lothed to write the formula by hand 230 times. Can anyone suggest how I can copy and drag down the formula to auto fill and keep the sequence.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Keeping a formula pattern to copy to cells below

    Hi,

    If you select all 6 cells and then fill down, you should get the correct result with the formulas you have posted.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Keeping a formula pattern to copy to cells below

    Try

    =(SUM(A$1:A$6)-A1)/5

  4. #4
    Registered User
    Join Date
    03-14-2017
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    6

    Re: Keeping a formula pattern to copy to cells below

    That just works for that example... if you have 240 cells of data the formula are different:

    I have a top row so start on row 2

    =AVERAGE (A3:A241)
    =AVERAGE (A2, A4:A241)
    =AVERAGE (A2:A3, A5:A241)

    It doesn't copy correctly.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Keeping a formula pattern to copy to cells below

    Just need to adjust accordingly..
    =(SUM(A$2:A$241)-A2)/239

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Keeping a formula pattern to copy to cells below

    Or, put the first one in manually

    =AVERAGE(A3:A241)

    Then this and fill down

    =AVERAGE(A$2:A2, A4:A$241)

  7. #7
    Registered User
    Join Date
    03-14-2017
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    6

    Re: Keeping a formula pattern to copy to cells below

    Quote Originally Posted by Jonmo1 View Post
    Try

    =(SUM(A$1:A$6)-A1)/5

    THANK YOU! That did the job. As always, I appreciate your time.

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Keeping a formula pattern to copy to cells below

    You're welcome.

+ 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. Copy Formula pattern
    By miqureshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2016, 10:23 AM
  2. Copy down hypertext cell range pattern & cell reference formula pattern
    By Underexcelling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2014, 03:23 AM
  3. How to copy formula and it following a pattern?
    By salvi in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-22-2013, 03:23 AM
  4. formula to copy cells with a repeating pattern
    By jgaynor in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-20-2011, 09:58 AM
  5. [SOLVED] How to copy cells with keeping exact formula intact
    By Stephen in forum Excel General
    Replies: 6
    Last Post: 04-03-2005, 06:06 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