简体   繁体   English

Excel - “引用”

[英]Excel - "referencing"

I have two columns, B and F. In F, I have a formula and then I apply it through entire column F, but this formula should have the same 'cell number' as it is in B , eg cell B5 has formula =Sheet2!$C$ 9 and then:我有两列,B 和 F。在 F 中,我有一个公式,然后我将它应用于整个 F 列,但是这个公式应该具有与B中相同的“单元格编号”,例如单元格 B5 具有公式 =Sheet2 !$C$ 9然后:

F5 should have =Sheet2!$D 9 --- I will write the first 'cell letter' (D) F5 应该有 =Sheet2!$D 9 --- 我会写第一个'cell letter' (D)

F6 should have =Sheet2!$D 4 --- B6 =Sheet2!$C$ 4 F6 应该有 =Sheet2!$D 4 --- B6 =Sheet2!$C$ 4

F7 should have =Sheet2!$D 11 --- B7 =Sheet2!$C$ 11 ... F7 应该有 =Sheet2!$D 11 --- B7 =Sheet2!$C$ 11 ...

I would add a helper column (Column C in my example) for the row that should be referenced - then you can use INDEX to get the values:我会为应该引用的行添加一个辅助列(在我的示例中为列 C)——然后您可以使用 INDEX 获取值:

在此处输入图像描述

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

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