Structured Referencing of a portion of a colum

protrader

New Member
Joined
Oct 1, 2013
Messages
2
What is the syntax to reference a table's column, not the whole column but the portion from row 1 to the current row?

Let's say we are in the 5th row of a table, in column "MyColumn"
Equivalent to 6th row and 2nd column (column B) in the spreadsheet

Referencing the cell will be [@MyColumn]
Referencing the whole column will be [MyColumn]
What is the structured referencing that would generate the same result such as $B$1:$B6 ?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try...

=SUM(Table1[[#Headers],[MyColumn]]:Table1[@MyColumn])

If you actually meant $B$2:$B6, try the following instead...

=SUM($B$2:Table1[@MyColumn])

or

=SUM(INDEX(Table1[[#All],[MyColumn]],2):Table1[@MyColumn])

Hope this helps!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,583
Messages
6,125,664
Members
449,247
Latest member
wingedshoes

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