Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
The name "CurrentMonth" is defined using the following formula: =OFFSET('Apr-10'!$H$5,0,0,COUNTA('Apr-10'!$H$5:$H$500),20) The workbook has 12 sheets with names from Apr-10 to Mar-11. These will be placed in a data validation list in cell A1 Requirement: The sheet name in the formula to dynamically change with the value selected in cell A1. ie if the value in cell A1 is Jun-10 then the sheet name i the formula should be replaced with Jun-10. Is this possible or any other way to achieve this? Thanks in advance for the help. Regards. Raj |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try
=OFFSET(INDIRECT("'"&$A$1&"'!$H$5"),0,0,COUNTA(IND IRECT("'"&$A$1&"'!$H$5:$H$500")),20) -- HTH Bob "Raj" wrote in message ... Hi, The name "CurrentMonth" is defined using the following formula: =OFFSET('Apr-10'!$H$5,0,0,COUNTA('Apr-10'!$H$5:$H$500),20) The workbook has 12 sheets with names from Apr-10 to Mar-11. These will be placed in a data validation list in cell A1 Requirement: The sheet name in the formula to dynamically change with the value selected in cell A1. ie if the value in cell A1 is Jun-10 then the sheet name i the formula should be replaced with Jun-10. Is this possible or any other way to achieve this? Thanks in advance for the help. Regards. Raj |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup formula with dynamic sheet reference | Excel Worksheet Functions | |||
Dynamic sheet reference | Excel Discussion (Misc queries) | |||
Dynamic reference to another sheet? | Excel Worksheet Functions | |||
Dynamic reference to a sheet | Excel Worksheet Functions | |||
Dynamic reference to sheet name | Excel Worksheet Functions |