473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

sorting between two spreadsheets

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

Jan 5 '06 #1
2 1531
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.

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

This response is supplied "as is" without any representations or warranties.
<jo***********@yahoo.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
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
Jan 5 '06 #2

"David Lloyd" <Da***@NoSpamPlease.com> wrote in message
news:1F*******************@bignews3.bellsouth.net. ..
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.


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
Jan 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Java script Dude | last post by:
For those who are missing the feature on how to import into Open Office dBase app from text files and spreadsheets in OOO Base 2.0: A wizard exists to import from spreadsheets only at this time...
0
by: StepHenHairNet | last post by:
A quick question about the ActiveX Spreadsheet control in Office 2000 Web Components… I’m using these in a VB.net project and wish to do something within a “hidden” OWC Spreadsheet. By...
2
by: Jim S | last post by:
To my surprise and chagrin, newer versions of Access have disabled the functionality that lets users change the data in linked tables that point to a range in an Excel workbook. This is "because of...
1
by: Dwight | last post by:
The place I'm working for has a need to sort an excel spread sheet the contains data from bill of materials. The spreadsheets can be up to 60,000 records. We had a process that did it in a macro...
2
by: rdemyan via AccessMonster.com | last post by:
I currently have code that brings up a form where the user can see a list of spreadsheets on my ftp site, select one and then download and import the spreadsheet into a table. All of this...
1
by: dsbsnag | last post by:
I am using Access 2003 on Windows XP I'm a school teacher and need help achieving the following: I have three spreadsheets with various information in them. But, they have a common cell named...
0
by: DrewYK | last post by:
I have the project that may never end in front of me. I am creating a routine that will take SpreadSheets from Excel and bring them into Access. I am not using any "DoCmd"s because the goal...
3
by: Umoja | last post by:
Hi All, This seems like a simple thing, but I cant seem to figure it out. I am familiar with transferring excel spreadsheets into access using the TransferSpreasheet function...
2
by: BlackEyedPea | last post by:
Hi I have no coding experience but am using access 2003 on XP in the hope that I can find some code that will.... Search a folder in my network & import any excel spreadsheets it finds within...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.