#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Address in excel

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Address in excel

Try PasteSpecial/Transpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Address in excel

Hi thankyou, but that didnt work, i may not have explained properly, all the
address information is in one cell.

regards

Patrick


"Stefi" wrote:

Try PasteSpecial/Transpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Address in excel

Then first separate them with Data/Text to columns!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi thankyou, but that didnt work, i may not have explained properly, all the
address information is in one cell.

regards

Patrick


"Stefi" wrote:

Try PasteSpecial/Transpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Address in excel

this partly works when i do it but is it possible for it to be done
automatically as each different address is pulled through from the query?

regards

patrick

"Stefi" wrote:

Then first separate them with Data/Text to columns!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi thankyou, but that didnt work, i may not have explained properly, all the
address information is in one cell.

regards

Patrick


"Stefi" wrote:

Try PasteSpecial/Transpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Address in excel

You have to write a VBA macro for this purpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

this partly works when i do it but is it possible for it to be done
automatically as each different address is pulled through from the query?

regards

patrick

"Stefi" wrote:

Then first separate them with Data/Text to columns!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi thankyou, but that didnt work, i may not have explained properly, all the
address information is in one cell.

regards

Patrick


"Stefi" wrote:

Try PasteSpecial/Transpose!

Regards,
Stefi


Patrick Bateman ezt *rta:

Hi, i am pulling through and address from a query which is in the form:

NameNumberStreettownpostco de

and i need it to populate cells in the form:

Name
Number
Street
town
Postcode

any ideas how?

any help would be much appreciated

regards

Patrick



  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Address in excel

Some thoughts ..

Assuming you have split (using DataText to Columns) the imported data into
5 cols in Sheet1's cols A to E, from row1 down, eg:

Name1 Number1 Street1 town1 postcode1
Name2 Number2 Street2 town2 postcode2
Name3 Number3 Street3 town3 postcode3
etc

Then in Sheet2,

Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($1:1)-1)/5),MOD(ROWS($1:1)-1,5))
Copy A1 down as far as required, until zeros appear signalling exhaustion of
data in Sheet1. Col A will return it in the desired single column "repeating"
format, viz:

Name1
Number1
Street1
town1
postcode1
Name2
Number2
Street2
town2
postcode2
etc

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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 avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
excel problem: sum(address(4,2,1):address(2,1,1)) DrSlowpoke Excel Discussion (Misc queries) 2 December 22nd 06 02:50 AM
what is difference between absolute address and relative address? what is difference between absolute addr Excel Discussion (Misc queries) 1 July 22nd 06 08:17 AM
long address list, name-address-city, listed vertically, how do y. kb Excel Discussion (Misc queries) 2 March 4th 05 12:48 AM
How do I import Office address book to Outlook Express address bo. snnorp Excel Discussion (Misc queries) 2 February 22nd 05 11:47 AM


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