Very simple Averages question

aldino

New Member
Joined
Nov 20, 2005
Messages
7
Hi basically i have a list of salaries. Now i need to get the average of salaries up to the year when it is requested.

EG.
£10
£12
Average = £11

Now i know to do average, its =AVERAGE(cell:cell) so it would be =AVERAGE(A2:A3)

BUT when i add another one in, i want it to then do =AVERAGE(A2:A4) but it just does A3:A4

Basically how can i get it to keep its A2 for them all, and just do the average up to the line required?

Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Easy way is to make the end cell of your formula way beyond your data
(assuming you don't have anything else underneath)

eg:

=AVERAGE(A2:A65536)

will average any numbers it finds in column A from row 2 down
 
Upvote 0
hi thanks, but i do have something below

its

£20,000.00
£20,600.00
£21,218.00
£21,854.54
£22,510.18
£23,185.48

so for each row, i want to know the average salary

eg for the 2nd one its A1:A2, how can i get the 3rd to be A1:A3, not A2:A3 which is what happens when i drag the formula down to the rest of them
 
Upvote 0
in your formula in the first cell, put a $ symbol infront of the A and the 1
but not in front of the second cell address

eg:

=AVERAGE($A$1:A2)

now drag the formula down and A1 will always stay as A1
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top