Add "http://" Prefix to a List of Domains Formatted in Plain Text :: How Please?
February 21, 2006 10:05 PM
Subscribe
Hi, hoping some MS Excel or HTML wizards can help me out with this. The goal is as follows; format a list of domain names so I can publish them on a webpage with hyperlinks to their individual addresses
(currently they are all in Excel with each domain occupying a single cell in a single row; they are currently formatted like this: "domain.com"). There are just to many to go through and add this to each one.
I'm thinking that one of these two solutions might work
(just can't figure out how to do it!):
1) Use some formula in MS Excel to add the "
http://" to each of the cells with a domain. Then just copy and paste into my HTML editor.
OR
2) Use some sort of code directly in the HTML editor to change "
domain.com" into hyperlinked text.
This
link came close, but just missed. Thanks so much for any help you might provide! Cheers!
posted by Jhaus to computers & internet (8 comments total)
1 user marked this as a favorite
Say that Cell A1 contains example.com. Make Cell B1 say:
=CONCATENATE("http://",A1)
or
="http://" & A1
And then drag the lower right corner to all cells in column B, assuming column A has all your *.com fields. Voila! Column B is your answer.
Oh, I re-read and see that you have them in rows. Do the same thing, only use cell A2, and use Row 2 for your answers.
posted by SuperNova at 10:15 PM on February 21, 2006