Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shelley
 
Posts: n/a
Default Formula for adding a comma in front of text in a cell

I need to add a comma in front of the text in a cell and copy the same for
4000 rows. Can you help me with a fromula or a macro. Thanks and regards
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Shelley

="," & A1

where your text is in cell A1, this can then be filled down the 4000 rows
using the autofill handle (move your cursor over the bottom right hand
corner of the cell and when you see the + double click)


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Shelley" wrote in message
...
I need to add a comma in front of the text in a cell and copy the same for
4000 rows. Can you help me with a fromula or a macro. Thanks and regards



  #3   Report Post  
IC
 
Posts: n/a
Default

Try this macro

Sub add_comma()
For myrow = 1 To 10
Cells(myrow, 1).Value = "," & Cells(myrow, 1).Value
Next myrow
End Sub

Ian

"Shelley" wrote in message
...
I need to add a comma in front of the text in a cell and copy the same for
4000 rows. Can you help me with a fromula or a macro. Thanks and regards



  #4   Report Post  
Shelley
 
Posts: n/a
Default

Thanks Julie. It was great

"JulieD" wrote:

Hi Shelley

="," & A1

where your text is in cell A1, this can then be filled down the 4000 rows
using the autofill handle (move your cursor over the bottom right hand
corner of the cell and when you see the + double click)


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Shelley" wrote in message
...
I need to add a comma in front of the text in a cell and copy the same for
4000 rows. Can you help me with a fromula or a macro. Thanks and regards




  #5   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback


"Shelley" wrote in message
...
Thanks Julie. It was great

"JulieD" wrote:

Hi Shelley

="," & A1

where your text is in cell A1, this can then be filled down the 4000 rows
using the autofill handle (move your cursor over the bottom right hand
corner of the cell and when you see the + double click)


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Shelley" wrote in message
...
I need to add a comma in front of the text in a cell and copy the same
for
4000 rows. Can you help me with a fromula or a macro. Thanks and
regards






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import comma delimited text Lin Excel Discussion (Misc queries) 3 July 28th 06 04:07 PM
Formula appears as text Tiles Excel Worksheet Functions 3 March 27th 05 10:48 AM
how i use formula when i put the comma myself Missi Excel Discussion (Misc queries) 1 February 7th 05 12:39 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM


All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"