Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / January 2006

Tip: Looking for answers? Try searching our database.

sorting between two spreadsheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joe_d_builder@yahoo.com - 05 Jan 2006 04:37 GMT
I'm trying to do the following in Excel but am having a really tough
time and am wondering if Access will do it....

I have  a database matrix with about a half million rows in it and
about a dozen columns.  I have another database with about 1000 rows in
it.  Each of these is a long number.  What I would like to do is sort
the huge matrix so it only selects/sorts rows that contain ones that
have the same values of the 1000 out of the other spreadsheet.  In
other words each row needs to look at the list of 1000 and say yes or
no to whether it contains one of the numbers.

Does this make sense?  Will Access do this?  How easy is it?

Thanks folks.

Joe
David Lloyd - 05 Jan 2006 14:05 GMT
Joe:

I don't have a great deal of information regarding your exact setup,
however, it appears that you could do an INNER JOIN between the two
"spreadsheets."  An Excel worksheet is limited to about 65536 rows, so I am
assuming your larger data matrix is already in Access.  You could link the
smaller data set which I am assuming is in Excel into Access and then
perform the INNER JOIN query.

You can link an Excel spreadsheet into Access through the File menu, Get
External Data, Link Tables option.  In the Files of Type drop down, select
Excel and browse to your workbook.  You can then create a query from the two
tables joining them on the appropriate field.

Signature

David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.

I'm trying to do the following in Excel but am having a really tough
time and am wondering if Access will do it....

I have  a database matrix with about a half million rows in it and
about a dozen columns.  I have another database with about 1000 rows in
it.  Each of these is a long number.  What I would like to do is sort
the huge matrix so it only selects/sorts rows that contain ones that
have the same values of the 1000 out of the other spreadsheet.  In
other words each row needs to look at the list of 1000 and say yes or
no to whether it contains one of the numbers.

Does this make sense?  Will Access do this?  How easy is it?

Thanks folks.

Joe
Larry Linson - 10 Jan 2006 03:25 GMT
> Joe:
>
[quoted text clipped - 11 lines]
> two
> tables joining them on the appropriate field.

Just one comment to add to David's excellent answer. With lots of data, you
can improve performance by making sure that the columns in the Join are
indexed. To index them, they will have to be imported into Access. If
performance is satisfactory linking to Excel, then don't worry about it.

 Larry Linson
 Microsoft Access MVP
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.