EXCEL: Referencing a cell in a function/formula using COLUMN() & ROW()

时间:2015-07-08 15:57:13

标签: excel

I've been trying to figure this out for a while.

I need to find the content of a specific cell relative to my current cell. The relativity isn't the typical counting relationship but rather an equational relationship (if there's a word for the form of relativity, I'm curious to know what it is).

Anyhoo, this will return the column/row I'd need for any cell:

=ADDRESS((ROW()+8-MOD(ROW(),4))/4,2)

So I've got that information. Now I need to get the content of that cell. I've tried the CELL function, I've tried using this formula: (Let it be noted, I'm getting the cell from a different sheet).

='Form Responses 1'!ADDRESS((ROW()+8-MOD(ROW(),4))/4,2)

So far, I've gotten nowhere.

Any ideas?

2 个答案:

答案 0 :(得分:0)

“= Address”以文本形式获取引用。如果您正在处理的单元格是Sheet1 A1,请尝试类似:

=!Address!B2/!Address!B4

第一个“!”将获得“地址表”,第二个将维持单元格之间的关系。只需在第一组所需的单元格中,然后将该公式复制到列中。

答案 1 :(得分:0)

您正在寻找的功能INDIRECT

INDIRECT是一个易失性函数,因此大量使用它会导致性能问题。易失性函数是每次任何单元格更改时都会重新计算公式的函数。

您可能会觉得有用的另一个功能是OFFSET(也是一个易失性函数)。

=INDIRECT("'Form Responses 1'!"&ADDRESS((ROW()+8-MOD(ROW(),4))/4,2))
相关问题