Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Access/Excel data to compare and sum conditionally


Hello,
I have 87000 rows of data in 5 columns in Access. I have 750 rows of
data in 5 columns in MS Excel. This is all postal codes data.
I want to take the data on the Excel workbook and compare it with the
postal codes in Access. Based on that I want to come up with a top 5
most popular postal code and based on the same I want to sum up with
the associated columns of data.

Access MDB
i. Postal Code
ii. First three digits of Postal Code
iii. City Name
iv. Neighbourhood Number
v. Popular City Name

Excel Workbook
i. Data (to be aggregated)
ii. Data (to be aggregated)
iii. Data (to be aggregated)
iv. Data (to be aggregated)
v. Postal Code

Is there a way to do it in Excel with VBScripting? I do not how to go
around this with the limit of 65536 in Excel. Should I import this into
Access and use it there? I have no idea how to use VBScript on this as
well. If anybody out there can help me with this, that would be great.
Regards


--
abhic
------------------------------------------------------------------------
abhic's Profile: http://www.excelforum.com/member.php...o&userid=16392
View this thread: http://www.excelforum.com/showthread...hreadid=384432

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Access/Excel data to compare and sum conditionally

Abhic

If you want to aggregate the data in Access for only the records in Excel.
(I think that's the request), I would do it in Access via FileGet external
dataLink Tables

This will allow you to permanently link the Excel table. Create a query
using this 'table' and the table in Access. This will, by default, only
show the records from the Excel table. Once you have produced the report,
this could be exported easily back to Excel using ToolsOffice links

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"abhic" wrote in
message ...

Hello,
I have 87000 rows of data in 5 columns in Access. I have 750 rows of
data in 5 columns in MS Excel. This is all postal codes data.
I want to take the data on the Excel workbook and compare it with the
postal codes in Access. Based on that I want to come up with a top 5
most popular postal code and based on the same I want to sum up with
the associated columns of data.

Access MDB
i. Postal Code
ii. First three digits of Postal Code
iii. City Name
iv. Neighbourhood Number
v. Popular City Name

Excel Workbook
i. Data (to be aggregated)
ii. Data (to be aggregated)
iii. Data (to be aggregated)
iv. Data (to be aggregated)
v. Postal Code

Is there a way to do it in Excel with VBScripting? I do not how to go
around this with the limit of 65536 in Excel. Should I import this into
Access and use it there? I have no idea how to use VBScript on this as
well. If anybody out there can help me with this, that would be great.
Regards


--
abhic
------------------------------------------------------------------------
abhic's Profile:
http://www.excelforum.com/member.php...o&userid=16392
View this thread: http://www.excelforum.com/showthread...hreadid=384432



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
Can Excel access data from Access?! Al Excel Discussion (Misc queries) 5 April 5th 08 03:52 PM
How to compare two tables in Access 2000? Futureer Excel Discussion (Misc queries) 1 June 29th 05 10:54 AM
Access data -work in Excel- save in Access s_u_resh Excel Programming 1 October 25th 04 12:52 PM
compare data from one column with another and compare result to yet another Matt Williamson[_3_] Excel Programming 1 September 25th 03 08:54 PM
Read / compare MS Access data in excel Bob[_34_] Excel Programming 2 September 12th 03 03:02 AM


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