[英]Formula to grab value from a cell and use that to refer to a cell in another spreadsheet?
I need help creating a formula in a cell in a spreadsheet that would allow me to grab a value from another cell and use that value to refer to yet another cell in another sheet. 我需要在电子表格的单元格中创建公式的帮助,该公式使我可以从另一个单元格中获取值,并使用该值引用另一个工作表中的另一个单元格。
For example, in a cell that returns a student's class grade (a progress report sheet) I have the cell refer to my master grade sheet (eg. the progress report sheet's cell would be: =mastersheet!E[grab value in cell A1 of current sheet])
例如,在返回学生班级成绩的单元格(进度报告表)中,我让该单元格参考了我的硕士成绩表(例如,进度报告表的单元格为:
=mastersheet!E[grab value in cell A1 of current sheet])
What formula do I use to grab a cell's value and use it to define/refer to another cell? 我使用什么公式来获取一个单元格的值并使用它来定义/引用另一个单元格?
In Excel, if Sheet1 A1 contains B2
then in Sheet1 =INDIRECT("Sheet2!"&A1)
will return the contents of Sheet2!B2. 在Excel中,如果Sheet1 A1包含
B2
则在Sheet1 =INDIRECT("Sheet2!"&A1)
将返回Sheet2!B2的内容。
In Google Docs spreadsheet, if Sheet1 E1 contains 4
then in Sheet1 =Indirect("Sheet2!E"&E1)
will return the contents of Sheet2 Cell E4. 在Google Docs电子表格中,如果Sheet1 E1包含
4
则在Sheet1 =Indirect("Sheet2!E"&E1)
中将返回Sheet2单元格E4的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.