Solved

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

Posted on 2012-03-10
2
240 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 33

Accepted Solution

by:
Norie earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
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‚Ķ

776 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