PC Review


Reply
Thread Tools Rate Thread

Combining info for mailing labels

 
 
Laura D.
Guest
Posts: n/a
 
      18th Nov 2009
I have a basic spreadsheet with contact information. The way it is set up is
that everyone has their own entry, even if there are several people living in
the same address.

How do I set up my spreadsheet so that it amalgomates all names in the same
household? I want to sent one Christmas card per household and hopefully
address it to all people within that home.

My colums are First Name, Last Name, Address, City, Postal Code. I have
30000 names in this list so I am hoping Excel can do some of the footwork.


 
Reply With Quote
 
 
 
 
Paul C
Guest
Posts: n/a
 
      18th Nov 2009
First sort your data by Address, City and Postal Code
Delete any blank rows at the top

Next insert a column between Last name and Address
Put in a formula to merge the first and last name
=concatenate(A1," ",B1)
this will take
A B
John Smith

and make
A B C
John Smith John Smith

then you can use a small macro to combine. Copy the sheet so you are not
working on your original data just to be safe.

Sub mergenames()
Range("C1").Select
Do While ActiveCell <> Empty
'MATCH ADDRESS, CITY AND POSTAL CODE
If ActiveCell.Offset(0, 1) = ActiveCell.Offset(1, 1) And _
ActiveCell.Offset(0, 2) = ActiveCell.Offset(1, 2) And _
ActiveCell.Offset(0, 3) = ActiveCell.Offset(1, 3) Then
'COMBINE NAME AND DELETE
ActiveCell = ActiveCell & ", " & ActiveCell.Offset(1, 0)
ActiveCell.Offset(1, 0).Select
Selection.EntireRow.Delete
Else
ActiveCell.Offset(1, 0).Select
End If
Loop
End Sub
--
If this helps, please remember to click yes.


"Laura D." wrote:

> I have a basic spreadsheet with contact information. The way it is set up is
> that everyone has their own entry, even if there are several people living in
> the same address.
>
> How do I set up my spreadsheet so that it amalgomates all names in the same
> household? I want to sent one Christmas card per household and hopefully
> address it to all people within that home.
>
> My colums are First Name, Last Name, Address, City, Postal Code. I have
> 30000 names in this list so I am hoping Excel can do some of the footwork.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining info from multiple records for mailing labels (from 1 ta =?Utf-8?B?TG9yaQ==?= Microsoft Access Queries 7 25th Apr 2007 04:06 AM
Re: Access or Excel for contact info lists & creating mailing labels Earl Kiosterud Microsoft Excel Misc 0 17th Jan 2007 11:40 PM
Re: Access or Excel for contact info lists & creating mailing labels Gord Dibben Microsoft Excel Misc 0 17th Jan 2007 10:51 PM
creating mailing labels from an access data base customer mailing =?Utf-8?B?bGFkYXJpZHVib2lz?= Microsoft Access Getting Started 7 26th Jul 2006 10:39 PM
converting spreadsheet info onto mailing labels? =?Utf-8?B?ZWthdGVyaW5h?= Microsoft Excel Worksheet Functions 3 26th Jun 2006 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:36 PM.