Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

Need to remove unused rows and columns to minumize size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Irishcauffey - 18 Sep 2007 11:54 GMT
I am working with a very large workbook and need to remove unformated or used
rows and columsn.  I am new to excel and need some help please.
Pranav Vaidya - 18 Sep 2007 12:48 GMT
I am not sure if you want to remove the used cells etc, however this might
help..

go to cell A1 on the desired worksheet
hit CTRL+SHIFT+END this will select the editted region on the worksheet
hit CTRL+ - (hyphen) this will delete all the cells
save the work book.
Signature

Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!

> I am working with a very large workbook and need to remove unformated or used
> rows and columsn.  I am new to excel and need some help please.
ewb1017 - 18 Sep 2007 18:58 GMT
The process you gave removes all data entered into the worksheet which is not
what I think was requested.
I have a similar problem. I need to reduce worksheets to a minimum size and
so want to minimize the number of rows and columns to a minimum (especially
rows). It seems that Excel does not shrink the size of the worksheet
automatically, I may have 50,000 to 65,000 rows of raw data when I start, by
the time I filter out bad and unnecessary data I could have it reduced to
5000 rows, all the rest are now blank but Excel does not remove the blank
cells. How can I do that ?

Regards
Ed

> I am not sure if you want to remove the used cells etc, however this might
> help..
[quoted text clipped - 6 lines]
> > I am working with a very large workbook and need to remove unformated or used
> > rows and columsn.  I am new to excel and need some help please.
Pranav Vaidya - 19 Sep 2007 07:24 GMT
Excel will never remove the blank cells. These are for display only and does
not affect your workbook size etc. If you don not wish to see them, just
select the desired rows, cols and hide them.

HTH,
Signature

Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!

> The process you gave removes all data entered into the worksheet which is not
> what I think was requested.
[quoted text clipped - 19 lines]
> > > I am working with a very large workbook and need to remove unformated or used
> > > rows and columsn.  I am new to excel and need some help please.
ewb1017 - 19 Sep 2007 20:20 GMT
Hi, Thanks. I tried that and much to my surprise an empty worksheet with 100
rows or 50,000 rows was the same size file.

Now I have another problem.  I have another sheet in this WB with about
75,000 rows of which after filtering only about 25,000 rows are needed, the
rows with good data can be identified as the cells in Column D that have a
value greater that 0 a quick sort can place all these at the top of the
worksheet.  Once this is done I want to delete all the data from the other
columns/rows below row 25,000. I need a solution that can be placed in a
macro to run and one that will find the 0 value cell as the next worksheet
may only have 2200 lines of good data s I cannot fix the macro to line 25000.

again, the goal is the same - to minimize the size of the file to be saved
to disk

> Excel will never remove the blank cells. These are for display only and does
> not affect your workbook size etc. If you don not wish to see them, just
[quoted text clipped - 25 lines]
> > > > I am working with a very large workbook and need to remove unformated or used
> > > > rows and columsn.  I am new to excel and need some help please.
ewb1017 - 23 Sep 2007 14:24 GMT
I believe I have found a solution to removing blank rows at the bottom of
your worksheet so they do not display - at least until you page down past the
last displayed row again.
highlight (pick) an entire column, then F5>special>blanks>OK
then edit>delete>entire row
The rows may still be displayed at this point but if you save and reopen the
file they will all be gone.
Understand that all these rows are still in the "worksheet" but just not
displayed on the screen and if you copy a number or formula down a column it
will only copy to the number of displayed rows.
Regards
Ed

> I am working with a very large workbook and need to remove unformated or used
> rows and columsn.  I am new to excel and need some help please.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.