Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Match and Move Data in 2 Spreadsheets

I have 2 spreadsheets that have one column of data that is the same. I want
to match that data and bring the corresponding data from another column into
the first spreadsheet.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Match and Move Data in 2 Spreadsheets

One way via INDEX/MATCH ..

Assume data in sheets: A, B,
in cols A and B from row2 down
with the key col = col A
and you want to bring over data into A's col C
from B's col B that matches what's in col A

In sheet: A,

Put in C2:
=INDEX(B!B:B,MATCH(A2,B!A:A,0))
Copy down

If you want blanks: "" to be returned for any non-matching cases
use instead in C2:
=IF(ISNA(MATCH(A2,B!A:A,0)),"",INDEX(B!B:B,MATCH(A 2,B!A:A,0)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Steve T" wrote:
I have 2 spreadsheets that have one column of data that is the same. I want
to match that data and bring the corresponding data from another column into
the first spreadsheet.

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
How can I move spreadsheets to contain same format and spacing pstein69 Excel Discussion (Misc queries) 2 January 10th 07 05:11 AM
How to move data from spreadsheets to spreadsheet? saltaway Excel Discussion (Misc queries) 2 September 11th 06 06:27 PM
Can i move scanned jpeg text to excel spreadsheets etpconscious Excel Worksheet Functions 4 December 19th 05 12:14 AM
need funct to match data in 3 seperate spreadsheets column 1 to v. lucky Excel Discussion (Misc queries) 2 February 8th 05 07:33 PM
match two spreadsheets Socialism Excel Worksheet Functions 1 December 10th 04 05:59 AM


All times are GMT +1. The time now is 09:22 AM.

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"