• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Use a cell reference to point to a sheet name in a formula

jpwbvi

New Member
Is there a way to use a cell reference to populate a sheet name reference in a formula? For example:


I have a formula: =SUM('May-Oct'!$C$2:$C$30000). I would like to replace the 'May-Oct' with a cell value.
 
You can use the below to get this done...

[pre]
Code:
=SUM(INDIRECT(E2&"$C$2:$C$30000"))
[/pre]

Cell E2 contains the text that you want to replace, and should be a sheet name else you will get error in the formula.


~VijaySharma
 
Back
Top