LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default automated cut and paste using regex

Have a question... I know there must be a way to automate this process
and wondering if someone could help me out...
column A has motorcycle part numbers i.e. HD101ST-500CC-004MK,
K113-600R-17-00LK4, etc.
these part numbers always end with 5 alphanumeric characters. I want
to "copy" the last 5 alphanumeric characters and paste them into
column B because this will become its truncated id number. There's
about a 100 or so rows in each spreadsheet so I would like to
automated this process by using some kind of function, macro, etc.
that will just loop through column A extracting the last 5 of each
part number, then paste those 5 alphanumerics into the corresponding B
column. I know there must be a way but not sure how to get started or
accomplish this in excel 2000. Thanks for any ideas or assistance in
advance.

+---------------------------------------+-------------------------+
| Column A | Column B |
+---------------------------------------+-------------------------+
| HD101ST-500CC-004MK | 004MK |
+---------------------------------------+-------------------------+
| K113-600R-17-00LK4 | 00LK4 |
+---------------------------------------+-------------------------+

 
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
Automated report Smitty Excel Discussion (Misc queries) 1 December 1st 08 06:53 AM
MS Query capabilities/regex Mike[_10_] New Users to Excel 2 June 23rd 08 09:19 PM
Automated Row Height HoganD87 Excel Discussion (Misc queries) 2 January 9th 08 07:25 PM
Automated Timecard Sarah Excel Discussion (Misc queries) 3 May 9th 07 07:57 PM
automated copy & paste DarkNight New Users to Excel 12 May 12th 06 08:01 PM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"