Solved

Dynamic links to another worksheet in same workbook?

Posted on 2013-05-24
6
170 Views
Last Modified: 2013-11-06
I have a list of values in column A of Sheet1, as the user creates worksheets corresponding to values in Sheet1 I want to create hyperlinks on Sheet1 to the new worksheets.

E.G.

Sheet1 Cell A2 contains a value "001", the user creates a worksheet call "Test-001", is it possible to create a dynamic hyperlink link to cell A1 in the new worksheet?
 
Dynamic so that the formula can be copied down for other cell vaqlues.
0
Comment
Question by:kieranjcollins
  • 4
  • 2
6 Comments
 
LVL 9

Expert Comment

by:jsdray
ID: 39194005
=HYPERLINK("c:\test" & A1,"TEST-" & A1)
0
 
LVL 9

Expert Comment

by:jsdray
ID: 39194010
=HYPERLINK("c:\test" & A2,"TEST-" & A2)

pardon me, now it is as you asked...
0
 

Author Comment

by:kieranjcollins
ID: 39194230
Is there a way to write this such that it doesn;t reference the file location ?
0
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.

 
LVL 9

Accepted Solution

by:
jsdray earned 500 total points
ID: 39196121
Sure as long as it's in the same location as the current.
I also realized I  left off the file extension.  Of course, you may need to modify that to your exact preference.

=HYPERLINK("test-" & A2 &".xlsx","TEST-" & A2)
0
 

Author Comment

by:kieranjcollins
ID: 39198654
Sorry to be a pain, can one do this without including the filename in the formula?
0
 
LVL 9

Expert Comment

by:jsdray
ID: 39608329
Sorry, but no.  How would it know where to go?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

828 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