Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
OK, here's the situation...
I've got a membership database which has been exported from an Access Database into a number of different Excel spreadsheets. And of course I don't have the original! It's split into about 10 spreadsheets and I need to create a single one by merging the data from the various sources. All the spreadsheets start with "Membership number" in column 1, then different data. The spreadsheets don't necessarily contain data for every membership number, and in some cases there are multiple entries for the same membership number. There are about 4000+ membership accounts, otherwise I'd just spend a while on the copy/paste buttons. Is there a way I can set up some sort of merge which will carry the various elements of data into the primary spreadsheet with all the data for each membership number spread across the cells on a single line? Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
On Oct 4, 4:24*pm, "Bob" wrote:
OK, here's the situation... I've got a membership database which has been exported from an Access Database into a number of different Excel spreadsheets. *And of course I don't have the original! *It's split into about 10 spreadsheets and I need to create a single one by merging the data from the various sources. All the spreadsheets start with "Membership number" in column 1, then different data. *The spreadsheets don't necessarily contain data for every membership number, and in some cases there are multiple entries for the same membership number. *There are about 4000+ membership accounts, otherwise I'd just spend a while on the copy/paste buttons. Is there a way I can set up some sort of merge which will carry the various elements of data into the primary spreadsheet with all the data for each membership number spread across the cells on a single line? Thanks in advance. Check this out:- http://office.microsoft.com/en-gb/ex...249.aspx?CTT=1 |
#3
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
I would create a new worksheet with just the key values in column A. (Those
membership numbers are unique, right?) You can just copy|paste creating a giant list with duplicates in this column A. Then use Data|Advanced filter to get rid of the duplicates. Debra Dalgleish describes it he http://contextures.com/xladvfilter01.html#FilterUR Then you could use the next 10 columns (B, C, ...) to use =vlookup()'s to retrieve the data from each of the other 10 worksheets. Depending on the version of excel, you can use =iferror() or =if(iserror(vlookup()),"",vlookup()) Since you have lots of data, I think I'd do a single column at a time and verify that the results are correct. Then I'd convert that column to values and start on the next. (If you don't convert to values, then you could have about 4000 * 10 * 2 vlookup() functions (depending on your version of excel) and that could slow excel to a crawl.) On 10/04/2011 10:24, Bob wrote: OK, here's the situation... I've got a membership database which has been exported from an Access Database into a number of different Excel spreadsheets. And of course I don't have the original! It's split into about 10 spreadsheets and I need to create a single one by merging the data from the various sources. All the spreadsheets start with "Membership number" in column 1, then different data. The spreadsheets don't necessarily contain data for every membership number, and in some cases there are multiple entries for the same membership number. There are about 4000+ membership accounts, otherwise I'd just spend a while on the copy/paste buttons. Is there a way I can set up some sort of merge which will carry the various elements of data into the primary spreadsheet with all the data for each membership number spread across the cells on a single line? Thanks in advance. -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
I didn't notice the version of excel in your subject line. You can use the
=iferror() function. On 10/05/2011 07:00, Dave Peterson wrote: I would create a new worksheet with just the key values in column A. (Those membership numbers are unique, right?) You can just copy|paste creating a giant list with duplicates in this column A. Then use Data|Advanced filter to get rid of the duplicates. Debra Dalgleish describes it he http://contextures.com/xladvfilter01.html#FilterUR Then you could use the next 10 columns (B, C, ...) to use =vlookup()'s to retrieve the data from each of the other 10 worksheets. Depending on the version of excel, you can use =iferror() or =if(iserror(vlookup()),"",vlookup()) Since you have lots of data, I think I'd do a single column at a time and verify that the results are correct. Then I'd convert that column to values and start on the next. (If you don't convert to values, then you could have about 4000 * 10 * 2 vlookup() functions (depending on your version of excel) and that could slow excel to a crawl.) On 10/04/2011 10:24, Bob wrote: OK, here's the situation... I've got a membership database which has been exported from an Access Database into a number of different Excel spreadsheets. And of course I don't have the original! It's split into about 10 spreadsheets and I need to create a single one by merging the data from the various sources. All the spreadsheets start with "Membership number" in column 1, then different data. The spreadsheets don't necessarily contain data for every membership number, and in some cases there are multiple entries for the same membership number. There are about 4000+ membership accounts, otherwise I'd just spend a while on the copy/paste buttons. Is there a way I can set up some sort of merge which will carry the various elements of data into the primary spreadsheet with all the data for each membership number spread across the cells on a single line? Thanks in advance. -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
This is what you need:
http://excelexperts.com/VBA-Tips-Merge-2-Data-Sets - run it 10 times each time specifying the previous results file and an unmerged file. Nick http://excelexperts.com |
#6
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers
|
|||
|
|||
![]()
On Tue, 04 Oct 2011 16:24:12 +0100, Bob wrote:
OK, here's the situation... I've got a membership database which has been exported from an Access Database into a number of different Excel spreadsheets. And of course I don't have the original! It's split into about 10 spreadsheets and I need to create a single one by merging the data from the various sources. All the spreadsheets start with "Membership number" in column 1, then different data. The spreadsheets don't necessarily contain data for every membership number, and in some cases there are multiple entries for the same membership number. There are about 4000+ membership accounts, otherwise I'd just spend a while on the copy/paste buttons. Is there a way I can set up some sort of merge which will carry the various elements of data into the primary spreadsheet with all the data for each membership number spread across the cells on a single line? Thanks in advance. I found this very easy, but it costs! http://www.informationactive.com/ http://www.youtube.com/user/ActiveDa.../6/h7YjVMjHzDs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2010 (64 bit) External Data connection with Access | Excel Discussion (Misc queries) | |||
data label format not saving in excel 2010 | Charts and Charting in Excel | |||
Data connections in Excel 2010 and sql server 2008 | Excel Discussion (Misc queries) | |||
Match data of two identical strings in two separate spreadhseets | Excel Discussion (Misc queries) | |||
why do check boxes move when printing excel spreadhseets | Excel Discussion (Misc queries) |