Auto Populate Horiziontally, with a twist

scott11

New Member
Joined
Sep 13, 2016
Messages
5
Hello,

Here is my problem:

I am averaging the numbers in rows 1, 2, 3 in column A in cell A5, so my formula in cell A5 is this =Average(A1:A3). Rows 1, 2, 3 continue on until column AD, with each cell below A5 (A6, A7, etc.) containing the average of the next column in line, example:

A6 =Average(B1:B3)
A7 =Average(C1:C3)
A8 =Average(D1:D3)

and so on. However, when I attempt to auto populate the remaining cells (A9, A10, etc.) excel changes the row numbers. What I need to know is if it is possible to auto populate without changing the row numbers.
 

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
3,963
By auto-populate, do you mean drag the formula in A8 down to A9, A10.......
 

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
8,967
Try this in A5:

=AVERAGE(OFFSET($B$1:$B$3,0,ROWS($A$5:$A5)-1))

and drag down.
 

Forum statistics

Threads
1,081,798
Messages
5,361,352
Members
400,628
Latest member
teresajm

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top