Macro Help Copy Specific Text from One cell into another

[Solved/Closed]
Report
Posts
1
Registration date
Tuesday June 4, 2013
Status
Member
Last seen
June 4, 2013
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Here is the scenario:

I have a large excel spreadsheet and I have a column in which I only need the last ten characters of each line copied or moved to the cell right beside it. i.e.

A B
Thisisit-0000000000 => 0000000000

And I need this done for the entire table so thus in a loop. Is there any way to specify the copying of only the last ten characters of a cell into the cell beside it?

Thanks in advance for anyone who looks at this!

2 replies


=RIGHT(C11,3)
Where C11 is the cell to check and retrive the last 10 from, in this example, we are only getting the last three(3). ONce you have made the calculation work in one cell, click it, drag it for the whole column, and check to see that the formula is correct in all places. If you do the first 2 cells, Excel will complete the rest with a drag of cells.

If you really want "records", then you should be using a DB and not a spreadsheet.
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2821 users have said thank you to us this month

Use formula =right(A1,10)

if you added this formula to b1, this would only take the 10 letters from the right in A1
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2821 users have said thank you to us this month

Blocked Profile
I agree!
sorry, I thought I was breaking new ground!
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
why break any thing. and if you have to break any thing, why break new stuff. break old :)