Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Merging data between worksheets using reference index?

I'm not sure whether my query is similar to others, but I hope someone
can point me in the right direction.

I have an excel file with two worksheets. On both are a list of branch
numbers in the first column. I want excel to match the branch number
from the first sheet to the second and import a column of data from
the second (column c).
Not all branch numbers present in the second sheet appear in the
first.

Be grateful if someone could give me some simple direction - tried to
look at some excel websites and totally confused by them!
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Merging data between worksheets using reference index?

One way via INDEX/MATCH

In Sheet1,
Branch numbers running in A2 down

Place in B2:
=IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"",INDEX(Sheet2!C :C,MATCH(A2,Sheet2!A:A,0)))
Copy B2 down as far as required. This will return what you seek, ie Sheet2's
col C values for the branch numbers in col A which match with those in
Sheet2's col A. Unmatched branch numbers, if any, will return blanks: "".
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ler01kjh" wrote:
I'm not sure whether my query is similar to others, but I hope someone
can point me in the right direction.

I have an excel file with two worksheets. On both are a list of branch
numbers in the first column. I want excel to match the branch number
from the first sheet to the second and import a column of data from
the second (column c).
Not all branch numbers present in the second sheet appear in the
first.

Be grateful if someone could give me some simple direction - tried to
look at some excel websites and totally confused by them!
Thanks.

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
Merging data from mulitple worksheets jjjam Excel Worksheet Functions 4 November 3rd 08 11:39 PM
Merging data from different worksheets ajwilki Excel Discussion (Misc queries) 1 November 21st 06 02:59 PM
Merging data in Worksheets !!!! - Help Please!!! fran1977 Excel Discussion (Misc queries) 3 May 19th 06 08:24 AM
Merging data from Multiple Worksheets wingale Excel Worksheet Functions 0 April 13th 06 06:28 PM
Matching/merging data from two worksheets rg3 Excel Worksheet Functions 2 February 8th 06 08:02 PM


All times are GMT +1. The time now is 07:07 PM.

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

About Us

"It's about Microsoft Excel"