A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how can I add an * to be the last character in a cell



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 08:40 PM posted to microsoft.public.excel.misc
Stuck
external usenet poster
 
Posts: 32
Default how can I add an * to be the last character in a cell

I have 4,000 rows with data, and now realize I need an * to be the last
character in all of the cells in Column A. Please help.
  #2  
Old April 19th, 2010, 08:49 PM posted to microsoft.public.excel.misc
Luke M[_4_]
external usenet poster
 
Posts: 451
Default how can I add an * to be the last character in a cell

Insert a helper column, and input this formula:
=A1&"*"

Copy down as needed. Then do a Copy, Paste Special - Values only onto column
A.

--
Best Regards,

Luke M
"Stuck" wrote in message
...
I have 4,000 rows with data, and now realize I need an * to be the last
character in all of the cells in Column A. Please help.



  #3  
Old April 19th, 2010, 08:57 PM posted to microsoft.public.excel.misc
dlw
external usenet poster
 
Posts: 1,600
Default how can I add an * to be the last character in a cell

insert a "helper" column next to A. (it should be column B) in B1 enter
=a1&"*" and copy it down. Then copy/paste special to turn the column into
values.

"Stuck" wrote:

I have 4,000 rows with data, and now realize I need an * to be the last
character in all of the cells in Column A. Please help.

  #4  
Old April 19th, 2010, 10:01 PM posted to microsoft.public.excel.misc
L. Howard Kittle
external usenet poster
 
Posts: 516
Default how can I add an * to be the last character in a cell

You could run this lil macro.

Option Explicit

Sub thestar()
Dim c As Range
For Each c In Range("A:A")
If c.Value "" Then
c = c.Value & "*"
End If
Next
End Sub

HTH
Regards,
Howard

"Stuck" wrote in message
...
I have 4,000 rows with data, and now realize I need an * to be the last
character in all of the cells in Column A. Please help.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:25 PM.


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