Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kb
 
Posts: n/a
Default long address list, name-address-city, listed vertically, how do y.

I need to sort a long address list, that is listed down not accross.
name-address-city, is that possible
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

kb

Is your data consistent?

i.e. sets of 3 or 4 or 5? Like so....

Name
Address
City
State
Zip
Name
Address
City
State
Zip

If so, there are a couple of methods, one using formulas, the other using a
macro.

Assume your data starts in A2.

In B2 enter this formula and drag/copy across to F2 and down until you get
zeros appearing.

=OFFSET($A$1,(ROW()-1)*5+COLUMN()-1,0)

The 5 should be adjusted to whatever number constitutes a set.


Gord Dibben Excel MVP



On Wed, 2 Mar 2005 15:43:01 -0800, "kb" wrote:

I need to sort a long address list, that is listed down not accross.
name-address-city, is that possible


  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Some additional information you might need.

Gord's assumption is that since the list is in one column that
you would want each person (address) on there own row,
which is what Gord gave you, because that is the way you
would keep such data in a spreadsheet; otherwise, there wouldn't
be any purpose in using a spreadsheet. Before you sort you would
want to convert those formulas to constants.

Select all (ctrl+a)
Edit, Paste Special, Values

You would use mail merge in MS Word to print labels from
your Excel spreadsheet.

If your data does not match Gord's assumption some other
possibilities -- mainly that you have a blank row between sets
can be found in http://www.mvps.org/dmcritchie/excel/snakecol.htm

For information on using Mail Merge, with your name, address portions
all in separate columns see
http://www.mvps.org/dmcritchie/excel/mailmerg.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Gord Dibben" <gorddibbATshawDOTca wrote in message ...
kb

Is your data consistent?

i.e. sets of 3 or 4 or 5? Like so....

Name
Address
City
State
Zip
Name
Address
City
State
Zip

If so, there are a couple of methods, one using formulas, the other using a
macro.

Assume your data starts in A2.

In B2 enter this formula and drag/copy across to F2 and down until you get
zeros appearing.

=OFFSET($A$1,(ROW()-1)*5+COLUMN()-1,0)

The 5 should be adjusted to whatever number constitutes a set.


Gord Dibben Excel MVP



On Wed, 2 Mar 2005 15:43:01 -0800, "kb" wrote:

I need to sort a long address list, that is listed down not accross.
name-address-city, is that possible




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
Convert Word address list to Excel Mluera Excel Discussion (Misc queries) 2 November 3rd 08 12:08 AM
Address List in Excel getalife Excel Discussion (Misc queries) 2 May 29th 06 04:58 PM
How do I setup a 500 name address list? chdavis Excel Discussion (Misc queries) 2 January 15th 05 06:57 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 01:37 AM
Setting up a random list from long list of names ? yorkshire exile Excel Discussion (Misc queries) 4 January 6th 05 02:44 PM


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