Improve company productivity with a Business Account.Sign Up

x
?
Solved

Can I use a concatenated string to reference an Excel Worksheet and cell in a formula

Posted on 2012-03-10
2
Medium Priority
?
252 Views
Last Modified: 2012-03-10
I would like to type in a person's initials into a cell on one excel worksheet, and have the intials be part of the name of another worksheet, such that a cell within the second worksheet can be referenced in a formula.

Please see the accompanying file.
Using the sheet named 'Results':
Is is possible to input the initials 'KG' into cell A4 and have a formula constructed in B4 that points the sheet KG_JP cell B1, so returning the value 25 as the result.

If the initials in A4 are replaced with 'RE', the formula in B4 would then point to the sheet RE_JP cell B1 and return the value 30.
RotaQuestion-2.xlsx
0
Comment
Question by:quentinA
2 Comments
 
LVL 37

Accepted Solution

by:
Norie earned 2000 total points
ID: 37705107
You can use INDIRECT for this.

=INDIRECT("'"&A4&"_JP'!B1")
0
 

Author Closing Comment

by:quentinA
ID: 37705134
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
This article presents several of my favorite code snippets.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

585 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question