+ Reply to Thread
Results 1 to 2 of 2

Large scale summation using Excel for Mac

Hybrid View

  1. #1
    Registered User
    Join Date
    07-03-2006
    Posts
    2

    Large scale summation using Excel for Mac

    Hello.

    I have to take approximately 1,000,000 records, that break down to approximately 300,000 subsets based on one key field, and for each subset I need to produce a single record in the same format with a sum for that key.

    In short, I need to condense the million records with multiple lines per key to a set with one record per key.

    Here are the "catches":
    - I'm using Excel for Mac, so no VBA.
    - Also for the reason noted above, I can't use Access.

    (It's a Mac shop. Guess where I work.)

    I did this exercise the hard way once, wherein I used the Subtotal function to get the totals by key, and constructed my consolidated record-set off to the right in the same spreadsheet, did a copy-paste value on the sheet, deleted the columns with the detail records, and sorted the blank rows out of my manually created recordset.

    This however, took a long time because although the new Excel with 1,048,576 can contain the records in a single sheet, things lock up for a very long time if you try to subtotal even 100,000 records.

    Any advice or tips would be greatly appreciated.

    Regards,
    SAP2112
    Last edited by SAP2112; 12-12-2008 at 06:09 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Have you tried a Pivot Table, or is it just too much data? Pivot Tables automatically collect data by certain fields, so you just would have to pick the keys.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1