简体   繁体   English

excel根据另一个单元格值从另一个工作表中提取数据

[英]excel pulling data from another sheet based on another cell value

I want to pull through data from one sheet to another based upon the week number. 我想根据周数将数据从一张纸拉到另一张纸。

From the "Actuals" sheet I need to pull through the figures highlighted in the attached images depending on the week number in the "Weekly" sheet. 根据“每周”表中的星期数,我需要从“实际”表中浏览所附图像中突出显示的数字。

For example, in the "Paste to" image (Weekly tab) D2 - Week 1, i want the figures to pull through from the Actuals tab when this cell is updated for the week. 例如,在“粘贴到”图像(“每周”选项卡)D2-第1周中,我希望当此单元格在一周中更新时,这些数字从“实际值”选项卡中显示。

I have highlighted the cells I want to be updated in the images. 我已在图像中突出显示了要更新的单元格。

Any ideas guys? 有想法吗?

复制来源粘贴到

如果我正确理解VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])将为您完成此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM