Results 1 to 8 of 8
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    What is the differencdein these two files?

    The answer to this post may solve some other problems that I am having. I have attached two Excel files to this post. They are really the same file, with a few modification
    on one or the other that would make them different. T

    hey are essentially the same.

    However, the size difference of the files is about 10 fold. The size difference is huge!

    How can two similar files have such a huge memory difference?

    Any help appreciated. Thanks in advance.

    Respectfully,



    Lou Reed
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Formatting is one feature that adds to file size.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    So you say that the larger one's size is the result of formatting? That explains it?

    I am not disagreeing with you, I just want you to expand on this that is all.

    Respectfully,

    Lou Reed

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    I didn't download your files from this thread but tested with an older copy of your workbook. File started at 80kb. I removed all formatting from the worksheet and saved the file. Size is now 50kb.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,938
    the other thing that can affect file size is cells used (and therefore 'recognised' by Excel and 'in memory'), but now blank to the right and/or below your main data. To establish this, use the end-home keys to get to the bottom right of your worksheet.

    in the test file this is FE130, whilst the bottom right of your data range is CN130 - you have around 70 additional columns

    in the final file it is XBX149 - you have around 16200 columns additional columns

    Deleting these additional columns reduces your final file from 927kb to 92kb. Use the delete columns option on the home ribbon, just highlighting the columns and hitting the delete key will not work.

    Don't ask me why you have these additional columns, it is something you have done somewhere along the line. Based on experience, my best guess is the data has been imported from some other system such as SAP or Oracle which can often be inefficient in terms of optimising Excel.

  6. #6
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I appreciate your response very much.

    Please explain how you did this. The first sentence threw me.

    "To establish this, use the end-home keys to get to the bottom right of your worksheet."

    Please explain.

    I just thought that it had to be something like this, but did not know how to analyze.

    When I opened the files they looked almost identical. So how could they be so different in size?

    Did the final file additional cells have data in them? I did not see it if they did.

    Also, I know you said not to ask, but how did the final file get so much more data in it? I did not do it on purpose.

    Your response is much appreciated.

    respectfully,

    Lou Reed

  7. #7
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,938
    When I opened the files they looked almost identical. So how could they be so different in size?
    has already been explained.

    "To establish this, use the end-home keys to get to the bottom right of your worksheet."

    Please explain.
    it is the normal use of the navigation around excel. Hit the end key then the home key. google 'excel navigation' for more about navigating around excel

    Did the final file additional cells have data in them? I did not see it if they did.
    Not that I could see - read my post. 'the other thing that can affect file size is cells used (and therefore 'recognised' by Excel and 'in memory'), but now blank to the right and/or below your main data'. Note I said cells used - that does not necessarily mean they had real data in them - see last para below

    Also, I know you said not to ask, but how did the final file get so much more data in it? I did not do it on purpose.
    so don't ask - I don't know, it's your spreadsheet, you know what you have done in it. I've offered a suggestion based on my experience when other systems create exports for excel

  8. #8
    Join Date
    Apr 2017
    Posts
    1,792
    Excel also stores the history of whatever the user did with it - hidden from user. So when you add data, and then delete data, format some area and/or remove formats, etc., the file size increases. I'm not sure about newer versions of Excel, but for Excel2000/2010 saving the file with a new name (Save As) removed all history. So you saved a file with new name, after that you did overwrite old file with new one. And as last step, you could delete new file. The file size could shrink up to order.

    Update. Sorry, wrong forum!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 07-21-2017, 01:07 PM
  2. Replies: 2
    Last Post: 10-14-2016, 12:27 PM
  3. using mdb files which are backed up hourly into zip files
    By Robbie MacKinnon in forum Access
    Replies: 3
    Last Post: 05-05-2015, 05:02 AM
  4. Replies: 4
    Last Post: 05-15-2014, 12:49 PM
  5. Replies: 1
    Last Post: 02-21-2011, 09:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums