Copy a column in worksheet with a character change

P

photowiz

HI
Is there a way to copy the contents of one column to another, but change say
the fifth character of each cell to a different character? For instance, I
have a value of MLPM1 in a column (in each cell) with repetitive data and
want to copy that column but change the 5th character to "2" so that it reads
MLPM2-(data). Can anybody help? Thanks in advance!

Scott
 
K

Ken Wright

With your data in A1:A1000, in say B1

=LEFT(A1,4)&"2"&RIGHT(A1,LEN(A1)-5)

and copy down. Just change what's between the " " for what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top