Fixed references in tables

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Hello

I know that to refer to a fixed column of a table you can do:
Table[A]:[A]

However how can you refer to a specific row? and row and column?

I have the table in column A:
1
2
3
...

And I want to put in the column B:
AVERAGE($A$1:A1) and dragged it down but it does not work, any idea?

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.
When describing a problem it helps to explain what "does not work" means. What happens that is different than what you expect?

If you have a table, that means that you have headers in row 1, not data. Just use AVERAGE($A$2:$A2) starting in row 2. Works fine for me.

$scratch.xlsm
AB
1First ColumnSecond Column
25454.0
32439.0
410059.3
56059.5
64256.0
77358.8
88662.7
97364.0
107765.4
116765.6
128667.5
135266.2
141562.2
159464.5
168966.1
172863.8
Table Average
Cell Formulas
RangeFormula
B2:B17B2=AVERAGE($A$2:$A2)
 
Upvote 0
Thanks, well if you try to add a number in A18 the formula in B18 will work but the formula in B17 will change to an erroneous calculation :(

1656882961795.png
 
Upvote 0
I see. I was able to reproduce that and don't know why it happens. But this formula solves the problem.

Rich (BB code):
=AVERAGE($A$2:@[A])

where A is the heading of your first column, as shown in your example but may not be that way in your real file.
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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