#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default DB4 imported data

Hi, been given an excel spread sheet that has been imported from a DB4
address database.

house number street name town and zip / postcode are all in the same cell.

i.e 1 anystreet anytown zip/postcode,
there are no commas only spaces.

I would like to have first column as house number, next column as street,
next colum as town and final colum as zip/postcode.

One final point is that at the end of each line is about 100 squares. I
thought this would be easy to find and replace with a space but cant even
copy the 'square' into the 'find' to remove all those squares

Hopefully any solution offered will extract just the relevant info and leave
those squares behind.

TIA for all suggestions.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default DB4 imported data

You could use Data | Text-to-columns and work through the Wizard to
split the data at each space. If you have a space before those boxes,
then all the boxes will be put into their own cell.

Unfortunately, if you have mixed addresses (some with and some without
house numbers; some streets with one name, others with 2 names; some
with and some without Districts; some towns with one and some with two
words etc., etc.,) then you will find that they don't all occupy the
same number of columns - there is no easy way around this.

Hope this helps.

Pete


On Aug 16, 7:09 pm, "Sasha" wrote:
Hi, been given an excel spread sheet that has been imported from a DB4
address database.

house number street name town and zip / postcode are all in the same cell.

i.e 1 anystreet anytown zip/postcode,
there are no commas only spaces.

I would like to have first column as house number, next column as street,
next colum as town and final colum as zip/postcode.

One final point is that at the end of each line is about 100 squares. I
thought this would be easy to find and replace with a space but cant even
copy the 'square' into the 'find' to remove all those squares

Hopefully any solution offered will extract just the relevant info and leave
those squares behind.

TIA for all suggestions.



  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default DB4 imported data

to replace the square
try
= substitute(A1,code(mid(A1,99,1),"")
there may be several different characters which you will have to identify

if all of the towns and streen names are just one word you could try
selecting the column and data-text to column-delimited, select space as a
delimiter.

"Sasha" wrote:

Hi, been given an excel spread sheet that has been imported from a DB4
address database.

house number street name town and zip / postcode are all in the same cell.

i.e 1 anystreet anytown zip/postcode,
there are no commas only spaces.

I would like to have first column as house number, next column as street,
next colum as town and final colum as zip/postcode.

One final point is that at the end of each line is about 100 squares. I
thought this would be easy to find and replace with a space but cant even
copy the 'square' into the 'find' to remove all those squares

Hopefully any solution offered will extract just the relevant info and leave
those squares behind.

TIA for all suggestions.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default DB4 imported data

Hey guys

Data to text function is brill

Its getting better now.

Those squares act as spaces in one area but not in another but the data to
text is helping getting rid.

Thanks

"bj" wrote in message
...
to replace the square
try
= substitute(A1,code(mid(A1,99,1),"")
there may be several different characters which you will have to identify

if all of the towns and streen names are just one word you could try
selecting the column and data-text to column-delimited, select space as a
delimiter.

"Sasha" wrote:

Hi, been given an excel spread sheet that has been imported from a DB4
address database.

house number street name town and zip / postcode are all in the same
cell.

i.e 1 anystreet anytown zip/postcode,
there are no commas only spaces.

I would like to have first column as house number, next column as street,
next colum as town and final colum as zip/postcode.

One final point is that at the end of each line is about 100 squares. I
thought this would be easy to find and replace with a space but cant even
copy the 'square' into the 'find' to remove all those squares

Hopefully any solution offered will extract just the relevant info and
leave
those squares behind.

TIA for all suggestions.






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 to graph from an imported data set? DaniKab Charts and Charting in Excel 1 September 11th 06 02:37 AM
How do I get rid of #REF error, imported Data changes mrhcpa Excel Worksheet Functions 2 August 9th 06 08:17 PM
Imported Data - misinturpretted Jai_Friday Excel Discussion (Misc queries) 3 March 30th 06 12:12 PM
Formatting imported data Jsb Excel Worksheet Functions 8 March 26th 06 11:48 PM
Templates for Imported data Michael H Excel Worksheet Functions 0 January 24th 05 12:09 PM


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