LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Consolidating data from multiple spreadsheets...

One way is via index/match

I'll assume that Sheet2 and Sheet3's col C houses the key IDs* -- uniques
which could be used for the matching, and that cols D & E contain the info
that you wish to bring over to the main Sheet1

*IDs are the text numbers in col C in Sheet1 that you posted, viz.:
012345
014652

(it's better to match based on unique numbers rather than using names)

In your main Sheet1,
In E2:
=IF(ISNA(MATCH($C2,Sheet2!$C:$C,0)),"",INDEX(Sheet 2!D:D,MATCH($C2,Sheet2!$C:$C,0)))
Copy E2 to F2. This'll bring in cols D & E from Sheet2.

In G2:
=IF(ISNA(MATCH($C2,Sheet3!$C:$C,0)),"",INDEX(Sheet 3!D:D,MATCH($C2,Sheet3!$C:$C,0)))
Copy G2 to H2. This'll bring in cols D & E from Sheet3.
Then just select E2:H2, copy down as far as required.
Unmatched cases, if any, will return blanks: ""
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Morgan DeMarco" wrote:
I have data in 4 different spreadsheets. My main sheet has data organized as
lastname, firstname and then relevant data accross the row.
for example:

smith, john, 012345, 78914
smith, randy, 014652, 87263

I'd like to combine the data on the other sheets for each person, so that
sheet #2's data for john smith is added after the 78914 cell, and then sheet
#3's data and so on, while removing data from sheet's 2, 3 and 4 that doesn't
correspond to the names in the main sheet... is this possible? And is there
an easy way to do this other than copying and pasting everything into one
sheet and then going line by line and deleting rows that don't match up?...

Any help would be very much appreciated.

 
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 or Consolidating Data from Multiple Workbooks evieb Excel Discussion (Misc queries) 0 February 13th 07 06:13 PM
Consolidating data from multiple sheets. Bovine Jones Excel Discussion (Misc queries) 2 October 17th 06 09:55 AM
Consolidating several spreadsheets Linda J Excel Discussion (Misc queries) 2 May 12th 06 10:45 AM
need help in consolidating multiple data dromayn Excel Discussion (Misc queries) 0 December 6th 05 10:43 PM
Consolidating spreadsheets ACase Excel Worksheet Functions 1 October 26th 05 08:33 PM


All times are GMT +1. The time now is 11:35 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"