+ Reply to Thread
Results 1 to 2 of 2

Filling a formula pattern across columns using data from one row

  1. #1
    Registered User
    Join Date
    02-25-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    1

    Filling a formula pattern across columns using data from one row

    Hi there, I'm currently trying to produce some results from a study I'm doing for my dissertation and I was wondering if anyone could help me with this problem:

    I have about 100 columns that I have been punching the following formula pattern into:

    =AVERAGE(O12:O19)
    =AVERAGE(O20:O27)
    =AVERAGE(O28:O35)
    etc.

    This is simply to produce for one column the average for 8 blocks in the O column, with the following new column showing the average for the next 8 blocks, and so on and so on.

    I've tried to fill in the many columns using the small black cross in the bottom right corner, however, excel produces the following:

    =AVERAGE(O12:O19)
    =AVERAGE(P12:O19)
    =AVERAGE(Q12:Q19)
    etc.

    I've tried my hardest to find a quicker way to do this, but have so far been doing it manually (which is taking forever!) since my excel skills aren't exactly great. If anyone could help me find a solution I'd be forever grateful!

    Best,

    Ren.

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

    Re: Filling a formula pattern across columns using data from one row

    Try this in your first cell:

    =AVERAGE(INDIRECT("O"&(COLUMNS($A:A)-1)*8+12&":O"&(COLUMNS($A:A)-1)*8+19))

    and then you can copy across that row.

    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. Formula for Filling Data based on Criteria from a Drop Down
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2015, 06:40 AM
  2. Looking for a formula for filling the data upto certain number of rows
    By sstiruwa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2014, 09:45 AM
  3. 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
  4. Filling a column with a repeating pattern of numbers
    By lam154 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-23-2008, 05:05 PM

Tags for this Thread

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