?
Solved

How do I combine two spreadsheets with 1000+ lines ?

Posted on 2011-03-22
4
Medium Priority
?
319 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
  • 3
4 Comments
 
LVL 39

Assisted Solution

by:nutsch
nutsch earned 2000 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 2000 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
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…

569 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