[英]How to display a specific value in an excel cell from another worksheet by association
I'm not very good at expressing this, but I'll try. 我不太擅长表达这一点,但我会尽力的。
I have two worksheets, one containing a number of calculations, the other is a summary sheet. 我有两个工作表,一个工作表包含许多计算,另一个工作表是摘要表。
I want the summary sheet to display the calculation results in a column based on the type chosen on the summary sheet. 我希望摘要表根据在摘要表上选择的类型在一列中显示计算结果。
For example: 例如:
The calculation sheet contains a number of different window types and their related frame factors. 计算表包含许多不同的窗口类型及其相关的框架因子。 The summary sheet contains all wall types and their related window types.
摘要表包含所有墙类型及其相关的窗口类型。 I want to be able to type into the summary sheet what window type is used in that particular wall type and I then want the next column to display the relevant frame factor from the window type sheet.
我希望能够在摘要表中键入在该特定墙类型中使用的窗口类型,然后我希望下一列显示窗口类型表中的相关框架系数。
I hope this makes sense. 我希望这是有道理的。
Thanks for your help 谢谢你的帮助
I would suggest using a VLOOKUP
. 我建议使用
VLOOKUP
。
Assuming that the Window Types in the Summary Sheet is in column B, that the Window Types in the Calculations Sheet in column A, the Frame Factors in the Calculation sheet in column B, and lastly that the sheets contain column labels in the first row: 假设“摘要表”中的窗口类型在B列中,假定“计算表”中的窗口类型在A列中,在“计算”表中的帧因子在B列中,最后,这些表的第一行包含列标签:
=VLOOKUP(B2, 'Calculations Sheet'!A:B, 2, 0)
It will use the value contained in B2 (Window type), look for it in the Calculations Sheet in column A, and return the exact corresponding value in the second column (column B). 它将使用B2(窗口类型)中包含的值,在A列的“计算表”中查找它,然后在第二列(B列)中返回确切的对应值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.