combine two records into one record in an Excel database

G

Guest

I have a mailing list in Excel, where each person is a seperate record. I have a code for each seperate household (MAIL_ID). I would like to produce a new file/worksheet which just has each household record, for mailing.

For example, I have:
Last First MailId Street1 Street2 City Zip
Smith John 1 123 Main St Anytown 00000
Smith Mary 1 123 Main St Anytown 00000

Since I have the same mail code for both, I only want one new row so I only send one piece.

Any ideas?
 
D

Don Guillett

why not a for/each sub on the mailid instead

Kurt P said:
I have a mailing list in Excel, where each person is a seperate record. I
have a code for each seperate household (MAIL_ID). I would like to produce
a new file/worksheet which just has each household record, for mailing.
 
G

Guest

Don't know what that is....is that a macro or VBA? I don't know how to do those

----- Kurt P wrote: -----

I have a mailing list in Excel, where each person is a seperate record. I have a code for each seperate household (MAIL_ID). I would like to produce a new file/worksheet which just has each household record, for mailing.

For example, I have:
Last First MailId Street1 Street2 City Zip
Smith John 1 123 Main St Anytown 00000
Smith Mary 1 123 Main St Anytown 00000

Since I have the same mail code for both, I only want one new row so I only send one piece.

Any ideas?
 
G

Guest

Thanks. The cpearson.com website was a great help. After the function to code duplicates, all that was required as a few if statements and some sorting to get what I wanted. Problem solved, without any VBA!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top