ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Links and Linking in Excel (https://www.excelbanter.com/links-linking-excel/)
-   -   Dynamic Worksheet Names (https://www.excelbanter.com/links-linking-excel/40490-dynamic-worksheet-names.html)

Łukasz Czech

Dynamic Worksheet Names
 
Hello,

I would like to make link to different worksheet with name specified in
different column
eg.
A B
1 Sheet1 =SUM(A1!B4:B10)
2 Sheet2 =SUM(A2!B4:B10)

where column A stores names of worksheets and B sums cells from worksheets
from A column.

Thanks for solutions.

Lukasz



JE McGimpsey

One way:

B1: =SUM(INDIRECT("'" & A1 & "'!B4:B10"))



In article ,
"Łukasz Czech" wrote:

Hello,

I would like to make link to different worksheet with name specified in
different column
eg.
A B
1 Sheet1 =SUM(A1!B4:B10)
2 Sheet2 =SUM(A2!B4:B10)

where column A stores names of worksheets and B sums cells from worksheets
from A column.

Thanks for solutions.

Lukasz



All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com