Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Append same text to every cell in a column in Excel

How can I append text to every cell in a column in Excel? I need to add a comma (",") to the end.

Example:

[email protected] turns into [email protected],

Data Sample:

[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 
like image 752
Keyur Shah Avatar asked Jul 05 '10 12:07

Keyur Shah


People also ask

How do I mass append in Excel?

Select a blank cell for locating the appended result, enter formula =CONCATENATE(A1," ",B1," ",C1) into the formula bar, and then press the Enter key. 2. Then select cell D1, and drag Fill Handle to the range you want to cover with this formula. Then you can see all texts are appended into one cell.

How do you add 1 to every cell?

Formula Method The most obvious way to increment a number in Excel is to add a value to it. Start with any value in cell A1, and enter "=A1+1" in cell A2 to increment the starting value by one. Copy the formula in A2 down the rest of the column to continuously increment the preceding number.

How do you add a value to every cell in a column?

One quick and easy way to add values in Excel is to use AutoSum. Just select an empty cell directly below a column of data. Then on the Formula tab, click AutoSum > Sum. Excel will automatically sense the range to be summed.


2 Answers

See if this works for you.

  • All your data is in column A (beginning at row 1).
  • In column B, row 1, enter =A1&","
  • This will make cell B1 equal A1 with a comma appended.
  • Now select cell B1 and drag from the bottom right of cell down through all your rows (this copies the formula and uses the corresponding column A value.)
  • Select the newly appended data, copy it and paste it where you need using Paste -> By Value

That's It!

like image 91
Edward Leno Avatar answered Oct 20 '22 11:10

Edward Leno


It's a simple "&" function.

=cell&"yourtexthere" 

Example - your cell says Mickey, and you want Mickey Mouse. Mickey is in A2. In B2, type

=A2&" Mouse" 

Then, copy and "paste special" for values.

B2 now reads "Mickey Mouse" 
like image 37
Melissa Avatar answered Oct 20 '22 10:10

Melissa