![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Chris Taylor
Posts: 3
|
I have a file that contains a number of identical sheets. I now want to create a summary sheet. Is it possible to have a formula which changes the sheet depending on a cell containing the sheet name.
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 175
|
hello there,
i use the Indirect function eg =INDIRECT(A1&"B2") will return cell B2 on the sheet whose name is in cell A1 of the current sheet. I find that copy and past this function, it is best to use row and column offset, so that to get cell "B5" you need =OFFSET(INDIRECT(A1&"B2"),row_offset,column_offset) There may well be a better way of doing this, mind. Rgds, mike |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Location: Chris Taylor
Posts: 3
|
Thanks. I have not used that one before. I have found that the following works
INDIRECT(ADDRESS(rownum,colnum,1,0,sheetname),0) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|