Hi,
I have an excel table named incomeTable like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]name
[/TD]
[TD]spend
[/TD]
[TD]income
[/TD]
[/TR]
[TR]
[TD]mario
[/TD]
[TD]3
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]roger
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]tom
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
I'd want to access a given column and a given range of rows (but getting the column name from a specific cell).
I.e., Let us say I have in A2 the column name of interest
[TABLE="width: 500"]
<tbody>[TR]
[TD]columnNameOfIInterest
[/TD]
[/TR]
[TR]
[TD]spend
[/TD]
[/TR]
</tbody>[/TABLE]
Then, how would I access a range of rows and all the contents in that column?
=incomeTable[[1:2],[=$A2]]?
(where A2 is spend)
and it'd return
[TABLE="width: 500"]
<tbody>[TR]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
I have an excel table named incomeTable like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]name
[/TD]
[TD]spend
[/TD]
[TD]income
[/TD]
[/TR]
[TR]
[TD]mario
[/TD]
[TD]3
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]roger
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]tom
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
I'd want to access a given column and a given range of rows (but getting the column name from a specific cell).
I.e., Let us say I have in A2 the column name of interest
[TABLE="width: 500"]
<tbody>[TR]
[TD]columnNameOfIInterest
[/TD]
[/TR]
[TR]
[TD]spend
[/TD]
[/TR]
</tbody>[/TABLE]
Then, how would I access a range of rows and all the contents in that column?
=incomeTable[[1:2],[=$A2]]?
(where A2 is spend)
and it'd return
[TABLE="width: 500"]
<tbody>[TR]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]