Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How do you reference another worksheet without using its name

The standard way to reference a cell on another worksheet within the same
file is =Sheet2!A1. How can I create a reference that basically says A1 in
the next worksheet irregardless of its name (i.e., current worksheet + 1).

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200904/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default How do you reference another worksheet without using its name

"dallen917 via OfficeKB.com" <u51503@uwe wrote...
The standard way to reference a cell on another worksheet within the same
file is =Sheet2!A1. *How can I create a reference that basically says A1 in
the next worksheet irregardless of its name *(i.e., current worksheet + 1).


No way to do this without either using names defined using XLM
functions or using user-defined functions written in VBA. Both trigger
warnings when the workbook opens when macro security is set to Medium
and would be disabled when macro security is set to High or Very High
unless you provide certificates for the VBA project.

Actually, if your worksheet names NEVER change and you use workBOOK
protection to prevent users reordering worksheets, you could put an
ordered list of worksheet names into a range named WSLST, define a
name like WS referring to the formula

=MID(CELL("Filename",INDIRECT("RC",0)),
FIND("]",CELL("Filename",INDIRECT("RC",0)))+1,32)

then you could use a formula like

=INDIRECT("'"&INDEX(WSLST,MATCH(WS,WSLST,0)+1)&"'! "&
CELL("Address",INDIRECT("RC",0)))

to refer to the cell at the same address in the next worksheet.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summary worksheet reference to detail worksheet Quimera New Users to Excel 6 September 9th 07 05:47 PM
I want in one worksheet to relatively link to/reference cells in another without changing the format of the current worksheet. [email protected] Excel Discussion (Misc queries) 0 September 22nd 05 04:39 PM
Reference the worksheet from a multiple worksheet range function ( DBickel Excel Worksheet Functions 1 May 28th 05 03:49 AM
Can the offset worksheet function reference another worksheet AlistairJ Excel Worksheet Functions 2 May 9th 05 06:18 PM
Worksheet reference (i.e placing worksheet name in a cell) Roger Roger Excel Worksheet Functions 1 January 20th 05 03:40 PM


All times are GMT +1. The time now is 07:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"