Solved

How do I combine two spreadsheets with 1000+ lines ?

Posted on 2011-03-22
4
313 Views
Last Modified: 2012-05-11
I have two spreadsheets with one thousand lines.

Each has a server name on the left hand side.  

I want to make them just one spreadsheet with the server name on the left hand side.

In database terms, I want to do a 1 to 1 relatoinship on a primary key named "server name"



0
Comment
Question by:TIMFOX123
[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
  • 3
4 Comments
 
LVL 39

Assisted Solution

by:nutsch
nutsch earned 500 total points
ID: 35192373
if it's a 1 to 1 relationship, use a vlookup formula on one of the sheets, referencing the other, eg in sheet1, assuming you put the formula in column L, use:
=vlookup(a2,sheet2!$A$1:$Z$1000,column()-column($L2)+2,0)

then copy to the right as far as you have columns in sheet2 and copy down for as many rows as you have in sheet1.

T
0
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 35192388
this assumes:
your server name is in column A,

sheet2 has data on the range a1:z1000,

sheet2 is called sheet2,
you put the formula in column L.

Thomas

0
 

Author Closing Comment

by:TIMFOX123
ID: 35197723
This really helps me

thx
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35199547
Glad to help. Thanks for the grade.

Thomas
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel to show a dynamic Picklist at level2 2 23
copy down array 24 35
count number 10 30
Zip Codes Excel Spreadsheet 4 25
Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

739 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