简体   繁体   English

Excel 中动态引用单元格

[英]Dynamically Rerference Cell in Excel

I am trying to reference a cell inside a formula for example I have the formula我正在尝试引用公式中的单元格,例如我有公式

=CORREL(Multiple!$K$11:$K$109,Multiple!K$11:K$109)

and I want to reference the K column by using the value K written in another cell我想通过使用另一个单元格中写入的值 K 来引用 K 列

I have no expierence with CORREL Function but I would try something like:我没有使用CORREL函数的经验,但我会尝试以下操作:

=CORREL(INDEX(A11:K109,,CODE(A20)-64),INDEX(A11:K109,,CODE(A20)-64))

" I want to refer from =CORREL(Multiple!$K$11:$K$109,Multiple!K$11:K$109) Instead of K i want to keep changing the column as I go down" “我想参考 =CORREL(Multiple!$K$11:$K$109,Multiple!K$11​​:K$109) 而不是 K 我想在我往下时不断改变列”

=CORREL(INDEX($11:$109,,ROW(A11)),INDEX($11:$109,,ROW(A11)))

And drag down.并往下拉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM