Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Reducing the size of Excel file...

Thread Tools
 
Search this Thread
 
Old 13 February 2002, 05:05 PM
  #1  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Question

I've been going though one of our work servers as it's getting a bit low on disk space. The majority of large files are Excel spreadsheets. When I looked at some of these there does not seem to be any reason for the large size (2, 3, 4mb each and there are hundreds of them).

Does anyone know a quick and easy way to reduce the size of them? I have a feeling Excel is saving blank cells rather than just the ones with data in.

Any ideas?
Old 13 February 2002, 06:00 PM
  #2  
mega_stream
Scooby Regular
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Exclamation

Zip em up?

Old 13 February 2002, 06:04 PM
  #3  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Arrow

It was a problem with older versions of Excel, file sizes seemed to get bigger even if you deleted rows.

Try deleting any blank sheets and delete and clear any blank rows/columns again Helps in Excel 2000/2002.
Old 13 February 2002, 06:08 PM
  #4  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Lightbulb

You could try opening them up in Excel then do a "save as" on them...?!?! maybe ?!?!
Old 13 February 2002, 06:09 PM
  #5  
father_jack
Scooby Regular
 
father_jack's Avatar
 
Join Date: Jul 2001
Posts: 1,112
Likes: 0
Received 0 Likes on 0 Posts
Post

Zip em or use file compression on the server.

try doing save as on the files rather than save - as this clears out all the edits.
Old 13 February 2002, 06:50 PM
  #6  
boomer
Scooby Senior
 
boomer's Avatar
 
Join Date: Feb 2000
Location: West Midlands
Posts: 5,763
Likes: 0
Received 0 Likes on 0 Posts
Wink

Nimbus,

you might want to check that they are not simply renamed (prawn) MPEGs!!!!


mb
Old 13 February 2002, 11:00 PM
  #7  
Scooby-Doo
Scooby Regular
 
Scooby-Doo's Avatar
 
Join Date: Oct 2001
Location: X5 and MCS JCW country....London :)
Posts: 2,223
Likes: 0
Received 0 Likes on 0 Posts
Post

We had this at work with people complaining of 15mb Excel sheets. It turned out they had copied cell formats (i.e bold, font etc) to all cells. Although the cell will apear blank with no formulas the format must be removed to reduce the file size. Hope this helps.


David
Old 14 February 2002, 12:11 PM
  #8  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks chaps.

I can not compress them as the users need to access them directly (and it would cause untold confision for most of them having to deal with zip files ).

It think it is just a problem with formating in empty cells. I don't fancy going through each one though and removing the unwanted formatting. Looks like that's the only way though
Old 14 February 2002, 12:42 PM
  #9  
father_jack
Scooby Regular
 
father_jack's Avatar
 
Join Date: Jul 2001
Posts: 1,112
Likes: 0
Received 0 Likes on 0 Posts
Post

The users won't have to do anything if you use file compression on the server - it's transparent on microsoft stuff
Old 14 February 2002, 01:07 PM
  #10  
Miles
Scooby Regular
 
Miles's Avatar
 
Join Date: Oct 1998
Location: The Granite City/Dallas, Tx.
Posts: 2,519
Likes: 0
Received 0 Likes on 0 Posts
Post

Cut and paste the data into a new spreadsheet?
Old 14 February 2002, 03:11 PM
  #11  
Crispin
Scooby Regular
 
Crispin's Avatar
 
Join Date: Jan 2001
Posts: 534
Likes: 0
Received 0 Likes on 0 Posts
Post

Ok,

Excel will "clean itself up" only on file opening, so try the following for a couple o sheets:

File > Save
File > Close
File > Open
File > Save
File > Close


if this works for these let me know, and i'll write you a VB prog to go thru all excel files in any particular folder and do the above automatically.......


hth

it could be large for other reasons too, e.g. if you save as multiple formats, Excel 97 / 2000 which essentially saves the file twice in the same file....

[Edited by Crispin - 2/14/2002 3:16:25 PM]
Old 14 February 2002, 03:28 PM
  #12  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

father_jack,

I've had a look and compression is on, so the problem is not as bad as I though. Even so, the average seems to be about a 50% reduction.



Miles,

1852 Excel files over 1mb. . Mmm don't think so



Crispin,

Tried it on a few, but there was no change in the file size


If there's no technical fix, then it looks like "user education" is in order. Damn, I was hoping to avoid this as they don't seem to understand what it's all about so just ignore it - until the server runs out of space and they loose all their work [EDIT]. Not that I find that amusing or anything

Maybe some archiving procedures are called for...

Thanks for everyones input. If anyone does find a way, please let me know

Cheers

[EDIT] They are all Excel97.

[Edited by Nimbus - 2/14/2002 3:30:11 PM]
Old 14 February 2002, 05:05 PM
  #13  
CaptainBeakie
Scooby Regular
 
CaptainBeakie's Avatar
 
Join Date: Jun 2001
Posts: 347
Likes: 0
Received 0 Likes on 0 Posts
Smile

You might want to see about saving them as CSV files.

Excel uses 'deltas' this can be reduced by cutting the data from one workbook into another one.That's if you want to leave them as '.xls'

Hope that helps, otherwise it's get some more disks.

Old 14 February 2002, 05:17 PM
  #14  
Crispin
Scooby Regular
 
Crispin's Avatar
 
Join Date: Jan 2001
Posts: 534
Likes: 0
Received 0 Likes on 0 Posts
Post

You wouldn't save all the formatting if you did that unfortunately......

Nimbus,

There's an Excel MVP, who has a page of poss solutions for you to try here, the MVP's know their stuff, so give the LastCell thing a go maybe.....if I can help with any VB / VBA stuff just let me know.....

http://www.mvps.org/dmcritchie/excel/excel.htm

http://www.mvps.org/dmcritchie/excel/lastcell.htm
Old 14 February 2002, 06:17 PM
  #15  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Crispin,

Thanks. This looks like it will help. I'll have a look through this tomorrow and see if it will fix them.

Cheers
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM



Quick Reply: Reducing the size of Excel file...



All times are GMT +1. The time now is 06:46 AM.