Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a column of cells in a Google Spreadsheet with values such as:


What I would like to do is generate a hyperlink for each cell like:


...where xxxxx is the value of the cell. I know the format of a hyperlink in a Google spreadsheet and could do the job manually, I'm just wondering if I can generate these using a simple find/replace, or whether it will need scripting.

The new hyperlink can either go into the original cell, or a new cell can be created.

Any ideas?

share|improve this question
up vote 10 down vote accepted

Assuming your values are in column A, you can do this in column B:

=HYPERLINK(CONCATENATE("http://mywebsite.com?id=",A1);"link text")

Then you can auto-fill down the rest of the column.

share|improve this answer
@AlEverett now how do you create that link in the same cell as the value? And keep the value as the text? – Kirill Fuchs Oct 12 '13 at 15:33
@Kirill: Copy / Paste values – Al E. Oct 20 '15 at 23:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.