LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macros: Moving data into separate worksheets or spreadsheets

I would like to download from a web site up to 15 years of import-export
trade data for more than 200 countries with roughly four dozen Customs
districts in the United States.

From there, I would like to run a macro that, in addition to some
calculations and text replacement, could open either separte worksheets for
distinct pieces of the data or preferably separate spreadsheets for the same
distinct data.

Is this possible?

For example, Anchorage's exports from Angola and the other countries from
1992 to 2007, followed by Boston's with all those countries for each year and
Detroit's, etc. I would envison the Customs districts (cities) in columns
across the top, with the 15 years of data, and the countries in rows down the
side.

We would want to do the same thing with imports. (We download the imports
and exports separately and paste into one document.) So another, roughly 600
columns.

We would then combin the two (for total trade) and subtract imports from
exports (for surplus/(deficit)). Each is another 600 columns.

We can transpose the data, if need be, before doing total trade and
surplus/(deficit). It seems to me there is greater limitations on columns
than rows.

There are some additional fields for dollar change and percent change,
ranking, etc.

Question: Can a macro pull all of the Angola information and create either a
worksheet or spreadhseet with just Angola information -- e.g., Angola's trade
with the four dozen U.S. Customs districts for all those years? And, somewhat
similarly, do this for each country. In other words, do this for Anchorage's
trade with Angola and other 200-plus nations, for the 15-year stretch?

Sorry this is a little long but I wanted to be pretty clear.

Ken



 
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
Moving multiple worksheets as separate files Poli Excel Discussion (Misc queries) 4 January 21st 09 12:35 AM
Add/Revise data in separate spreadsheets all at once Military Mom Too Excel Worksheet Functions 6 October 23rd 08 06:02 PM
Combining data from multiple worksheets and separate spreadsheets kfletchb Excel Discussion (Misc queries) 1 August 10th 06 07:53 PM
Save 2 separate data imports in separate worksheets on the same ex Jay Excel Worksheet Functions 1 March 8th 06 01:31 PM
moving macros between spreadsheets Alex[_20_] Excel Programming 2 March 2nd 04 05:39 PM


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