Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
photowiz
 
Posts: n/a
Default Copy a column in worksheet with a character change

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
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

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.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"photowiz" wrote in message
...
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



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
how do i copy formula and change worksheet instead of cell dal0506 Excel Worksheet Functions 2 January 21st 05 08:41 PM
copy excel worksheet into msword with row, column headings and gr. eleda Excel Discussion (Misc queries) 0 January 19th 05 01:31 AM
copy COLUMN from 1 worksheet to another (in a different workbook) DavidB Excel Discussion (Misc queries) 3 January 15th 05 02:47 PM
how to copy 2350 hyperlink full paths to any column in a worksheet ? kontiki Excel Discussion (Misc queries) 4 December 10th 04 10:00 PM
Copy worksheet with Pivot Table and break link to original workshe setter-lover Excel Worksheet Functions 0 November 18th 04 09:29 PM


All times are GMT +1. The time now is 09:20 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"