ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need Help to repeat a symbol in each cell in a column (https://www.excelbanter.com/excel-worksheet-functions/236021-need-help-repeat-symbol-each-cell-column.html)

MicrosoftUserDarren

Need Help to repeat a symbol in each cell in a column
 
I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?

Max

Need Help to repeat a symbol in each cell in a column
 
Assume email running in A2 down
In B2: =A2&";"
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"MicrosoftUserDarren" wrote:
I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?


Rajesh Mehmi

Need Help to repeat a symbol in each cell in a column
 
Try the function ....... CONCATENATE


=CONTENATE(EMAIL_CELL,COMMA_CELL)


REGARDS
Rajesh Mehmi

"MicrosoftUserDarren" wrote
in message ...
I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end
of
the email without having to go to each cell and add ; at the end ?




Shane Devenshire[_2_]

Need Help to repeat a symbol in each cell in a column
 
Hi,

You can use the following code to add ; to every cell in any selection you
make:

Sub AddSemiColon()
Dim cell As Range
For Each cell In Selection
cell = cell & ";"
Next cell
End Sub

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"MicrosoftUserDarren" wrote:

I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?


MicrosoftUserDarren

Need Help to repeat a symbol in each cell in a column
 
Could you expand on that more please.

"Shane Devenshire" wrote:

Hi,

You can use the following code to add ; to every cell in any selection you
make:

Sub AddSemiColon()
Dim cell As Range
For Each cell In Selection
cell = cell & ";"
Next cell
End Sub

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"MicrosoftUserDarren" wrote:

I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?


MicrosoftUserDarren

Need Help to repeat a symbol in each cell in a column
 
Thanks so much Max. Your formula worked great.

"Max" wrote:

Assume email running in A2 down
In B2: =A2&";"
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"MicrosoftUserDarren" wrote:
I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?


Jacob Skaria

Need Help to repeat a symbol in each cell in a column
 
What Shane provided is a macro which will do the same on the selection. You
dont need to have a additional column. to try out set the Security level to
low/medium in (Tools|Macro|Security). From workbook launch VBE using
short-key Alt+F11. From menu 'Insert' a module and paste the below code.
Save. Get back to Workbook.

Select the range of cells with email and run macro from Tools|Macro|Run
<selected macro()

Sub AddSemiColon()
Dim cell As Range
For Each cell In Selection
cell = cell & ";"
Next cell
End Sub

--
If this post helps click Yes
---------------
Jacob Skaria


"MicrosoftUserDarren" wrote:

Could you expand on that more please.

"Shane Devenshire" wrote:

Hi,

You can use the following code to add ; to every cell in any selection you
make:

Sub AddSemiColon()
Dim cell As Range
For Each cell In Selection
cell = cell & ";"
Next cell
End Sub

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"MicrosoftUserDarren" wrote:

I have a database full of information. In one of the columns I have emails,
Im wondering is there anyway that I can add a ";" in every cell at the end of
the email without having to go to each cell and add ; at the end ?


Max

Need Help to repeat a symbol in each cell in a column
 
Good to hear. You're welcome.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"MicrosoftUserDarren" wrote
in message ...
Thanks so much Max. Your formula worked great.





All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com