Using Named Ranges in Excel with a selection of cells?

时光毁灭记忆、已成空白 提交于 2019-12-11 05:57:14

问题


Is it possible in Excel to use a defined named range such as myArray refers to =summary_data!$C$2:$H$6

Then use this name in another sheet to paste the contents of the data to a given range =summary_data!$C$2:$H$6

The reason to do this is that I am injecting data into other sheets in a template and the front sheet takes the data from many sheets.

Currently I can do this with single cells using the following but defining each individual cell is tedious:

=INDIRECT("'" &V1& "'!" & "summary_data_C2") a name is set to summary_data_C2 an V1 contains the worksheet name.


回答1:


Yes, if you highlight the corresponding range in the other sheet and enter

=myArray 

as an array formula using CtrlShiftEnter it will set up a link to the original sheet for each cell.



来源:https://stackoverflow.com/questions/37320355/using-named-ranges-in-excel-with-a-selection-of-cells

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!