Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 440
Default Updating Split Text field

I am using a spreadsheet that imports data from our Traffic System. One of
the fields pulls through a 3 letter field but also pulls through a list of
0's and the odd letter after it which we do not need.

I can seperate these with Text to Column so one column just shows the 3
letter code, but when we refresh the data from Query it does not update the
text to column from the updated data column.

Is there a way that this can be done, or is there another way to seperate
the data. It comes through like this - GBR 00000000Y 0
and i just want the GBR bit.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Updating Split Text field

Very difficult to be precise with knowing how the data are imported but a
couple of thoughts

instead of copying thevalue GBR 000000000 0
copy left(variable_name,3)

or import the data, select it then do a replace with
Edit|Replace

Replace what GBR*
Replace with GBR

Mike

"jock" wrote:

I am using a spreadsheet that imports data from our Traffic System. One of
the fields pulls through a 3 letter field but also pulls through a list of
0's and the odd letter after it which we do not need.

I can seperate these with Text to Column so one column just shows the 3
letter code, but when we refresh the data from Query it does not update the
text to column from the updated data column.

Is there a way that this can be done, or is there another way to seperate
the data. It comes through like this - GBR 00000000Y 0
and i just want the GBR bit.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 440
Default Updating Split Text field

Well the data is imported just as normal text, exactly what I showed before.
It is pulled through from Microsoft Query. The first 3 digits are different
in a lot of cases, and when we refresh the data the data will not be in the
exact cell, but the same column, heading of Job Type.

I am not very up on Excel, so if you could explain exactly how to do it
would be great.

"Mike H" wrote:

Very difficult to be precise with knowing how the data are imported but a
couple of thoughts

instead of copying thevalue GBR 000000000 0
copy left(variable_name,3)

or import the data, select it then do a replace with
Edit|Replace

Replace what GBR*
Replace with GBR

Mike

"jock" wrote:

I am using a spreadsheet that imports data from our Traffic System. One of
the fields pulls through a 3 letter field but also pulls through a list of
0's and the odd letter after it which we do not need.

I can seperate these with Text to Column so one column just shows the 3
letter code, but when we refresh the data from Query it does not update the
text to column from the updated data column.

Is there a way that this can be done, or is there another way to seperate
the data. It comes through like this - GBR 00000000Y 0
and i just want the GBR bit.

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
Split field dk New Users to Excel 14 January 10th 08 02:22 AM
Firstname Lastname Field, Split two cells Anthony Smith Excel Worksheet Functions 6 February 24th 07 03:37 PM
Updating a Date in a Graph Header Field [email protected] Excel Worksheet Functions 1 July 22nd 06 01:03 PM
Updating Time when a field has been modified Joshua Vista Star Excel Worksheet Functions 2 March 9th 06 10:07 AM
Split field based on number of characters and space william_mailer Excel Worksheet Functions 6 February 10th 06 01:26 AM


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