Look to Cell References to a Worksheet

March 26, 2009 by vba excel
Filed under: Excel Formulas, Excel Worksheet 
Sponsor

Excel Formulas Look to Cell References to a Worksheet [Q]

I have a microsoft excel formula in Sheet3 in cell A1 that is something like this:

=Sheet1!A1

This excel formula of course is looking to Sheet1 for the contents in cell A1 and placing it in cell A1 of Sheet3. In Sheet3 I have in cell A2 the following text Sheet1. What I would like my excel formula to do is to look in cell A2 of Sheet3 for what worksheet to look for. For example, instead of =Sheet1!A1 it would be something like =A2!A1
I know this doesn’t work, but how do I reference the contents of cell A2 to
give me the excel worksheet number that I want to reference.


Excel Formulas Look to Cell References to a Worksheet [A]

This excel formula should solve your problem:

=INDIRECT(A2&”!A1″)

or to be safer:

=INDIRECT(”‘”&A2&”‘!A1″)

here there are single quote as well a double quotes

Further details Look in Microsoft Excel Help Menu for the INDIRECT( ) function

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Live
  • MisterWong
  • Propeller
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Print this article!

Rate This Tips:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Incoming excel search terms

remove references from excel,self reference excel,dynamic sheet reference excel,excel dynamic sheet reference,excel formula worksheet reference,excel indirect sheet reference,excel look for cell,excel self reference cell,excel worksheet formulas,excel worksheet reference,how to give cell reference to macros in excell,self reference cell excel,vba excel cell reference a1,worksheet reference excel,1,automatically updating self referencing cells excel,calculate cell reference excel,calculate worksheet reference excel,cell reference excel date,cell reference in double quotes in excel,cell reference in excel vb,changing worsheet reference excel formula macro,combining cell contents to give references in excel,dynamic reference to excel worksheets in formula,dynamic sheet reference in excel formula macro,dynamic sheet reference in formula,dynamic worksheet reference excel,excel - adding a worksheet reference in a cell,excel cell reference self,excel cell self reference,excel dynamic worksheet reference,excel formula cells references,excel formula give me cell reference,excel formula sheet reference,excel formula to look at a sheet number from a cell,excel formula worksheet,excel formulas look to cell references to a worksheet,excel function look for text,excel indirect different worksheet,excel indirect worksheet,excel macro cell reference self,excel problem with cell reference in another sheet,excel reference a sheet in a formula,excel replace sheet number with cell value in formula,excel self reference,excel self-referencing,excel selfreference,excel sheet reference by formula,excel vba dynamic reference to sheet name,excel workbook reference problems



Related Excel Tips

Comments

Have another excel answer or questions for this problem ?
Feel free to post it here..