Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rg3
 
Posts: n/a
Default Matching/merging data from two worksheets


This seems like a simple problem to me, but I haven't got a clue where
to start.

I have two spreadsheets. Spreadsheet A contains teachers and the name
of the school they work at. Spreadsheet B contains all schools in the
state and the addresses.

I want to merge the address to the school onto spreadsheet A. In other
words, I would like the correct address to appear after the school name
for each teacher. The address will be in separate cells.

I assume a formula using functions would do this. Can you help?


--
rg3
------------------------------------------------------------------------
rg3's Profile: http://www.excelforum.com/member.php...o&userid=31291
View this thread: http://www.excelforum.com/showthread...hreadid=509611

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Tarburton
 
Posts: n/a
Default Matching/merging data from two worksheets

If Sheet1 has Teacher in column A and School in column B,
Sheet2 has school in column A and address fields in subsequesnt columns,
and school name is entered exactly the same on Sheet1 as on Sheet2

in C1 on Sheet1
=index(Sheet2!B:B,MATCH($B1,SHEET2!$A:$A,0))
Copy down and across as needed.
If your list in Sheet1 does not start in row 1, adjust where you start (C1)
and what you match (B1).

"rg3" wrote in message
...

This seems like a simple problem to me, but I haven't got a clue where
to start.

I have two spreadsheets. Spreadsheet A contains teachers and the name
of the school they work at. Spreadsheet B contains all schools in the
state and the addresses.

I want to merge the address to the school onto spreadsheet A. In other
words, I would like the correct address to appear after the school name
for each teacher. The address will be in separate cells.

I assume a formula using functions would do this. Can you help?


--
rg3
------------------------------------------------------------------------
rg3's Profile:
http://www.excelforum.com/member.php...o&userid=31291
View this thread: http://www.excelforum.com/showthread...hreadid=509611



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rg3
 
Posts: n/a
Default Matching/merging data from two worksheets


It works like a charm!


--
rg3
------------------------------------------------------------------------
rg3's Profile: http://www.excelforum.com/member.php...o&userid=31291
View this thread: http://www.excelforum.com/showthread...hreadid=509611

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Inserting a new line in spreadsheet Rental Man Excel Discussion (Misc queries) 2 January 9th 06 04:55 PM
Macro pulling data from 2 worksheets billrl34 Excel Discussion (Misc queries) 2 December 12th 05 08:50 PM
sharing rows of data across multiple worksheets within a workbook deedle93 Excel Worksheet Functions 2 August 18th 05 01:24 AM
data entry on multiple worksheets diosdias Excel Discussion (Misc queries) 1 December 7th 04 05:33 PM


All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"