+ Reply to Thread
Results 1 to 3 of 3

Change Row # by 2, Keep Column # Fixed

  1. #1
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Question Change Row # by 2, Keep Column # Fixed

    I have the following formula in Cell G9, for example. It simply is averaging 2 numbers to the left cell G9

    Please Login or Register  to view this content.
    What I would like to do is now average the next 2 numbers in Column F with the result in cell G10. That is, the formula will be

    Please Login or Register  to view this content.
    The next formula in Cell G11 would be

    Please Login or Register  to view this content.
    etc.

    I'm sure there's away to modify the formula in G9 such that when I drag down column G all the correct formulas will be copied.

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

    Re: Change Row # by 2, Keep Column # Fixed

    Try

    =AVERAGE(OFFSET(F$9:F$10,(ROWS(A$1:A1)-1)*2,0))

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,736

    Re: Change Row # by 2, Keep Column # Fixed

    You can put this non-volatile formula in G9:

    =AVERAGE(INDEX(F:F,ROWS($1:1)*2+7):INDEX(F:F,ROWS($1:1)*2+8))

    then copy down as required.

    Hope this helps.

    Pete

+ 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. Change a fixed length records
    By learner99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2016, 06:51 PM
  2. how to change one Cell values to number of Rows with fixed Header
    By tanwar123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2015, 02:39 AM
  3. fixed cost monthly that may change used in running balance not changing past data
    By AkaTrouble in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2015, 03:47 PM
  4. Replies: 2
    Last Post: 11-27-2012, 05:55 AM
  5. Change offset to fixed cell
    By Directlinq in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2009, 12:54 PM
  6. Offset from a variable column to a fixed column
    By Kurt Barr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2006, 12:50 PM
  7. [SOLVED] In what version was the change event on a data validation list fixed?
    By Don Wiss in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2006, 08:00 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