LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default extracting certain text

Hi there,

I have a long list of town names with the first 3 digits of the postal code
at the end of it. I need to extract the postal code data from the field and
show it in a separate column.

I have tried using text to columns but it doesn't work correctly because
some town names have more than one word. I have also tried using the letter
V as a column separator (all my postal codes begin with V) but that doesn't
work because some town names begin with V. Here's a sample of what I have:

KELOWNA KELOWNA STN OKANAGAN DC V1Z
PENTICTON PENTICTON STN MAIN V2A
KAMLOOPS KAMLOOPS STN NORTH DEL CTR V2B
KAMLOOPS KAMLOOPS STN SOUTH DEL CTR V2C
KAMLOOPS KAMLOOPS STN SOUTH DEL CTR V2E
WILLIAMS LAKE WILLIAMS LAKE STN MAIN V2G
KAMLOOPS KAMLOOPS STN NORTH DEL CTR V2H
QUESNEL QUESNEL STN MAIN V2J
PRINCE GEORGE PRINCE GEORGE STN B V2K
PRINCE GEORGE PRINCE GEORGE STN A V2L
PRINCE GEORGE PRINCE GEORGE STN B V2M
PRINCE GEORGE PRINCE GEORGE STN B V2N
CHILLIWACK CHILLIWACK STN MAIN V2P

Only the last three digits of each cell need to be pulled out.

Any ideas?

Please & Thanks!


 
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
Extracting Text Michael Excel Worksheet Functions 3 March 16th 06 07:32 PM
Extracting Text only jtoy Excel Worksheet Functions 2 July 31st 05 02:30 AM
Extracting Text from the right L Ellis Excel Worksheet Functions 6 July 8th 05 08:15 PM
EXTRACTING TEXT EstherJ Excel Discussion (Misc queries) 3 December 16th 04 05:27 PM
extracting text from within a cell - 'text to rows@ equivalent of 'text to columns' Dan E[_2_] Excel Programming 4 July 30th 03 06:43 PM


All times are GMT +1. The time now is 11:44 AM.

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"