How do I convert a column of text URLs into active hyperlinks in Excel?

后端 未结 22 2166
刺人心
刺人心 2020-12-07 07:42

I have a column in excel, wherein I have all the website url values. My question is I want to turn the url values to active links. There are about 200 entries in that column

22条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 08:23

    Here's a way I found. I'm on a Mac using Excel 2011. If column B had the text values you want to be hyperlinks, put this formula in the cell C1 (or D1 or whatever as long as it's a free column): =HYPERLINK(B1,B1) This will insert a hyperlink with the location as the link text and the "friendly name" as the link text. If you have another column that has a friendly name for each link, you could use that too. Then, you could hide the text column if you didn't want to see it.

    If you have a list of IDs of something, and the urls were all http://website.com/folder/ID, such as:

    A1  | B1
    101 | http://website.com/folder/101
    102 | http://website.com/folder/102
    103 | http://website.com/folder/103
    104 | http://website.com/folder/104
    

    you could use something like =HYPERLINK("http://website.com/folder/"&A1,A1) and you wouldn't need the list of urls. That was my situation and worked nicely.

    According to this post: http://excelhints.com/2007/06/12/hyperlink-formula-in-excel/ this method will work in Excel 2007 as well.

提交回复
热议问题