Question:
i need an excel formula that returns a hyperlink according to my entry?
frager
2011-07-22 07:38:19 UTC
I want to hyperlink items in an excel sheet to their web page
for example: I have item number 12345 and its webpage is www.example.com/item=12345
So what I need is a formula that when i enter 12345 it should automatically create a hyperlink to that web page
Three answers:
2011-07-22 07:41:55 UTC
If 12345 is in cell A1, you but this in B1, all one line



=HYPERLINK

("http://www.example.com/item="&A1)
Scrawny
2011-07-22 15:56:41 UTC
It isn't exactly clear how many hyperlinks that you have but I suggest that you make up a vlookup table that lists the hyperlinks with the identification numbers that you want to use to the left of the hyperlinks. Sort the table in order of the number ID's.



Then use this formula (assuming ID to be entered in A1)



=HYPERLINK(VLOOKUP(A1,J1:K100,2))
2011-07-22 14:44:11 UTC
=hyperlink(concatenate("www.example.com/ item=", ),"text you want to display")


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...