在 Excel 2007 中进行双单元格引用
我正在写一张表来显示特定学生的测试结果。在一张单独的表格中,我有所有学生的所有结果,并且想为这个学生制作一些图形,该图形由结果矩阵中他的行号给出。
为了完成此任务,我需要在引用内进行引用,但我不知道该怎么做。单元格中的典型脚本如下:
=IF('All results'!G3>=E3*'All results'!G2;3;IF('All results'!G3>=E4*'All results'!G2;2;1))
这里,我需要从其他单元格中提取 G 后面的“3”(在当前工作表的 B5 中给出)。
如何在引用中放置引用?
I am writing a sheet to display a specific students' results on a test. In a seperate sheet I have all the results of all the students and want to make some graphics for just this one student, which is given by his row number in the matrix of results.
To get this done, I need to do a reference inside a reference, and I dont know how to do that. A typical script in a cell will be:
=IF('All results'!G3>=E3*'All results'!G2;3;IF('All results'!G3>=E4*'All results'!G2;2;1))
Here, I need the '3' after G to be extracted from an other cell (given in B5 in the current sheet).
How can I place a reference inside a reference?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前尚不完全清楚您想要什么。
我认为您需要一种方法来构建引用“所有结果”!G3,其中 3 是一个变量,其值位于单元格 B5 中。为此,您可以使用
ADDRESS
函数:公式中的“7”指定第 7 列,即“G”。
然后,您可以使用
INDIRECT
函数检索ADDRESS
函数返回的单元格中的值。It is not completely clear what you are wanting.
I think you want a way to build the reference 'All results'!G3, where the 3 is a variable and its value is located in cell B5. To do that, you can use the
ADDRESS
function:The '7' in the formula specifies the 7th column, which is 'G'.
You would then use the
INDIRECT
function to retrieve the value in the cell that was returned by theADDRESS
function.