I have a dynamic range in an Excel sheet.
我在Excel工作表中有一个动态范围。
DATA_TABLE =OFFSET(DATA!$B$3,0,0,COUNTA(DATA!$B:$B)-1,0)
DATA_TABLE = OFFSET(DATA!$ B $ 3,0,0,COUNTA(DATA!$ B:$ B)-1,0)
I want to get reference of the third entire column array to look up a value in it. :) How can I get this?
我想获得第三个完整列数组的引用来查找其中的值。 :)我怎么能得到这个?
=VLOOKUP("Some_value_here",COLUMN(DATA_TABLE -s third column here ),1,) ??????
= VLOOKUP(“Some_value_here”,COLUMN(DATA_TABLE -s第三列),1,)??????
How can I do this? :)
我怎样才能做到这一点? :)
Thank you :)
谢谢 :)
1 个解决方案
#1
2
You can use INDEX to get the nth column of a multi-column range
您可以使用INDEX获取多列范围的第n列
=INDEX(range,0,n)
= INDEX(范围,0,n)的
[0 indicates all rows]
[0表示所有行]
so in your VLOOKUP that would be something like
所以在你的VLOOKUP中会是这样的
=VLOOKUP("Some_value_here",INDEX(DATA_TABLE,0,3),1,)
= VLOOKUP( “Some_value_here”,INDEX(DATA_TABLE,0,3),1日)
If you are using VLOOKUP to simply verify that the value exists you might be better of with MATCH.....
如果您使用VLOOKUP来简单验证该值是否存在,您可能会更好地使用MATCH .....
#1
2
You can use INDEX to get the nth column of a multi-column range
您可以使用INDEX获取多列范围的第n列
=INDEX(range,0,n)
= INDEX(范围,0,n)的
[0 indicates all rows]
[0表示所有行]
so in your VLOOKUP that would be something like
所以在你的VLOOKUP中会是这样的
=VLOOKUP("Some_value_here",INDEX(DATA_TABLE,0,3),1,)
= VLOOKUP( “Some_value_here”,INDEX(DATA_TABLE,0,3),1日)
If you are using VLOOKUP to simply verify that the value exists you might be better of with MATCH.....
如果您使用VLOOKUP来简单验证该值是否存在,您可能会更好地使用MATCH .....