INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Change hyperlink

Change hyperlink

(OP)
Lets say I have rows that show numbers 1-10. So in A1 it would be 1, cell A2 would be 2, Cell A3 would be 3 etc..etc. What I would like to do is be able to click on one of the cells and have it take you to a URL. So for example if I clicked on cell A1 it would take me to http://www.test.com/test/1, if i clicked on cell A2 it would take me to http://www.test.com/test/2 and so on. Is this possible?

I have thousands of rows so I need to be able to do this automaticall and not just manually type in each URL for each cell. Any help or suggestions are much appreciated.

Thank you!

Paul

RE: Change hyperlink

hi,

Check out the =HYPERLINK() function.

Let's say that C1 contained http://www.test.com/test/

Then your formula in A1 could be...

A1: =HYPERLINK($C$1&ROW())

...and copy down

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: Change hyperlink

(OP)
Thanks Skip, this is great! But what if the contents of A1 (the 1 in this case) is not right at the end of the URL like i stated in my original question but is more realistically like this http://www.test.com/somethingelse/1/somethingelse?

Thanks for the help!

Paul

RE: Change hyperlink

(OP)
I think I may have figured this out using concatenate, it is not pretty but I think it will get the job done.

RE: Change hyperlink

Skip, in:
=HYPERLINK($C$1&ROW())

Why add the ROW() piece?

What does that add?

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

RE: Change hyperlink

OK, interesting. So it's a method to make use of Excel's RowNumber without needing to type anything extra. Gotcha.

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

RE: Change hyperlink

@Steve, It’s not the way I’d design the sheet, but that’s what the OP wanted. I’d have a column of consecutive numbers, which is probably what you were thinking. I’d give the C1 range a range name also.

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close