Solved

# How do I combine two spreadsheets with 1000+ lines ?

Posted on 2011-03-22
314 Views
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
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
• 3

LVL 39

Assisted Solution

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

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

ID: 35197723
This really helps me

thx
0

LVL 39

Expert Comment

ID: 35199547

Thomas
0

## Featured Post

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
###### Suggested Courses
Course of the Month11 days, 3 hours left to enroll