[英]Use the value within a cell in a vlookup formula
I would like to take the percentile of the db_main!AA:AA but without having to type it. 我想使用db_main!AA:AA的百分位数,而不必键入它。
Basically, I want to have a cell = AA and then use concatenate and "something" to do my percentile. 基本上,我想拥有一个单元格= AA,然后使用串联和“某物”来执行我的百分位数。 Can anyone explain how to do this.
谁能解释如何做到这一点。 Does it involve using Indirect?
是否涉及使用间接?
=PERCENTILE(db_main!AA:AA,0.25)
Here is what I tried so far 这是我到目前为止尝试过的
=PERCENTILE(CONCATENATE("db_main!",INDIRECT("N15",TRUE),":",INDIRECT("N15",TRUE)),0.25)
Your question is still unclear, but the one thing that is immediately clear is that you're misusing INDIRECT
. 您的问题尚不清楚,但是立即清楚的一件事是您滥用
INDIRECT
。
Let's say that N15
contains the value "AA". 假设
N15
包含值“ AA”。 To reference "db_main!AA:AA" you can use INDIRECT(CONCATENATE("db_main!",N15,":",N15),TRUE)
as your array reference. 要引用“ db_main!AA:AA”,可以使用
INDIRECT(CONCATENATE("db_main!",N15,":",N15),TRUE)
作为数组引用。
You can shorten that to INDIRECT("db_main!"&N15&":"&N15)
, since &
works for concatenating and INDIRECT
defaults to the "A1" style. 您可以将其缩短为
INDIRECT("db_main!"&N15&":"&N15)
,因为&
可以串联,而INDIRECT
默认为“ A1”样式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.