Hi,
How can I add the same text to the beginning of multiple cells under one column (A1:A400)? Currently I have websites listed in simple address (i.e example.net) and I need to add "http://" to the beginning of all the addresses. There's a few hundred of them so adding the text manually is a bit too labourous.
Thanks in advance for any help!
[Solved] Add text to the beginning of every cell
[Solved] Add text to the beginning of every cell
Last edited by Hagar Delest on Tue Jan 26, 2010 4:42 pm, edited 1 time in total.
OpenOffice 3.1.1 on Windows XP
Re: Adding text to the beginning of every cell?
First, insert an additional column (alt, i, l) to the left of column A. Your stuff is now in column B.gcz wrote:Hi,
How can I add the same text to the beginning of multiple cells under one column (A1:A400)? Currently I have websites listed in simple address (i.e example.net) and I need to add "http://" to the beginning of all the addresses. There's a few hundred of them so adding the text manually is a bit too labourous.
Thanks in advance for any help!
Then, in the first cell (A1) type what you want to add at the beginning: in this case, http://. Then copy and paste down as far as you have content in column B. (added in edit )
Next go to cell C1 and type =concatenate(A1; B1) and hit enter. You should see what you want in cell C1.
Then copy the contents of C1 and paste down as far as you need.
If you are finished, you can select column C, copy, and then paste special: here uncheck paste all, but check numbers and uncheck formulas and hit enter. Then you can delete columns A and B.
LibreOffice 5.2.1.2 on Lubuntu 16.04 (Openbox)
Re: Adding text to the beginning of every cell?
Or select the cells involved and use Find & Replace.
Search = (.*)
Replace = http://$1
Click More Options, check "Current selection only" and "Regular expressions". Do Replace All.
Search = (.*)
Replace = http://$1
Click More Options, check "Current selection only" and "Regular expressions". Do Replace All.
Re: Adding text to the beginning of every cell?
Thanks a lot, both methods work great!
OpenOffice 3.1.1 on Windows XP
Re: [Solved] Adding text to the beginning of every cell?
Thanks a lot just registered to say thanks. Both method are good and the 2nd method is best.
OpenOffice 2.4 on Ubuntu 10.04
Thanks and regards,
Tapas
Thanks and regards,
Tapas
Re: [Solved] Adding text to the beginning of every cell?
thanks - even though this was an OLD reply - it still works !
open office 4.0 win 7.0