Solved

Creating a spreadsheet to be imported into a database.  How to input two names at the same address?

Posted on 2015-01-16
4
195 Views
Last Modified: 2015-01-19
The information isbeing entered into an OpenOffice spreadsheet.  A problem I'm having is some residence have two separate first and last names.  If I input these into the spreadsheet separately, when print mailing labels I'll get two labels.  How can I input them into the sheet so this doesn't happen?  Forward thinking, how would I input them so that when it comes time to import into a database I'm able to include both names into one database entry?  Thanks in advance!
0
Comment
Question by:1namyln
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Assisted Solution

by:Katie Pierce
Katie Pierce earned 250 total points
ID: 40554129
Are you creating the list from scratch?  If so, I'd just make additional columns for the second person and put them on the same row as the first.  Then, on your label mail merge, add a second line that looks to that column.

If you're working off a list that already exists, you'll need to identify the duplicate addresses, then get those names moved up into the same row as the original.
0
 
LVL 5

Accepted Solution

by:
Jim Riddles earned 250 total points
ID: 40554132
The quickest solution would be to include separate columns for the second name.  Something along the lines of "Name 1" and "Name 2", or "First Name 1", "Last Name 1", "First Name 2", "Last Name 2".

When printing labels you can either ignore the second name, concatenate it with the first name or add it to another line.

It is a bit of a hack, but certainly the easiest way to manage this.  When you decide to import into an actual database, pre-process the file before insertion.  Assuming that you have a separate table for the name and address, with a foreign key in the name table pointing to the id of the address table, create the address first, then create an entry for the first name with that address key as the foreign key, then check to see if there is a second name and create an entry for that name with the address key as the foreign key.
0
 
LVL 20

Expert Comment

by:ltlbearand3
ID: 40554695
Katie & Jim have given you some good items to consider.  If those work, great.  If not, we would need to have more details about your data or, better yet, see a sample of your Calc Document (Open Office Spreadsheet) to be able to give more specific advice.  If you upload the document, just make sure to use dummy data and not to upload real names and addresses.
0
 
LVL 1

Author Comment

by:1namyln
ID: 40558511
Katie - Creating from scratch yes.  Manually entering the information.  I think Jim's answer is about the same as yours but with more detail.

Thank you both!
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question