简体   繁体   English

如何通过关联在另一个工作表的Excel单元格中显示特定值

[英]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.

相关问题 Excel或Google表单-如何识别表上的特定单元格并从其他工作表数据更新值 - Excel or Google forms - How to identify a specific cell on a table and update value from another worksheet data 如何在另一个工作表中找到匹配的数据并在 Excel 的特定单元格中返回布尔值? - How can I find matching data in another worksheet and return boolean value in a specific cell in Excel? 如何使用参考单元格的值对另一个工作表中的excel数据求和 - How to sum excel data in another worksheet, using the value of a reference cell 如何在另一个工作表中引用单元格(求和函数)并显示为值 - How to reference cell (sum function) in another worksheet and display as value Excel:根据另一个工作表上另一个单元格中的值更新工作表 - Excel: Update Worksheet based on value in another cell on another worksheet 如果单元格值包含在另一个工作表中,则为Excel vba - Excel vba if cell value is included in another worksheet 如何从 Excel VBA 代码中的另一个工作表评估单元格 - How to assess Cell from another worksheet in Excel VBA code 如何使用公式中的ID引用另一个Excel工作表中的单元格 - how to reference a cell in another excel worksheet using ID from a formula (Excel)在引用其他工作表中的单元格时,是否可以将工作表名称作为单元格值传递? - (Excel) When referencing cells from another worksheet, can I pass the worksheet name as a cell value? 在Excel中引用另一个工作表中的单元格 - Referencing a cell from another worksheet in excel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM