ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can I add an * to be the last character in a cell (https://www.excelbanter.com/excel-discussion-misc-queries/261876-how-can-i-add-%2A-last-character-cell.html)

Stuck

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.

Luke M[_4_]

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.




dlw

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.


L. Howard Kittle

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.





All times are GMT +1. The time now is 08:51 AM.

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