SOLVED

Can you reference a sheet from a cell?

Copper Contributor

Hello,

I'm trying to create a template where I can add/change names of employees on a summary projections sheet without having to change all of the references to their individual sheets (each employee has their own sheet for more detailed projections).

 

In the attached, D7 is giving the ultimate value that I want by returning the data of a specific cell of a specific person's sheet (='Schmo, Joe'!N11). However, if I add another employee or change the name on this sheet for the following year, the sheet name changes and all of the formulas have to be changed with the new employee's name.

 

I currently have the names of employees in column A (ex. A7), which is a reference to their sheet and cell with their name (A7='Schmo, Joe'!B1). Is there a way to use the data from that cell (A7) to create an equation for another cell in that sheet?

 

So for example, I'd like B7=(pull name from A7 to get 'Schmo, Joe'!) and cell N11 from the Schmo, Joe sheet. That way, when I add an employee or change the name on the sheet, all I'll have to update is column A to reflect the new name.

 

The attached is a whittled down version of what I need....I have almost 30 employees each year, so being able to make a single change on the summary sheet would save me hours.

 

Thanks for any help/advice!

2 Replies
best response confirmed by alveysj08 (Copper Contributor)
Solution

@alveysj08 

You can use the INDIRECT function:

 

=INDIRECT("'"&A7&"'!N11")

@Hans Vogelaar 

Yes!! That's it! Thanks so much! I knew I was missing something - I tried the indirect function, but was missing the extra quotes around the entire bit. Thank you!!

1 best response

Accepted Solutions
best response confirmed by alveysj08 (Copper Contributor)
Solution

@alveysj08 

You can use the INDIRECT function:

 

=INDIRECT("'"&A7&"'!N11")

View solution in original post