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 / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Can't delete rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoAnn - 26 Feb 2008 20:55 GMT
Anyone have any idea why I wouldn't be able to delete rows in a worksheet?
It doesn't seem to be protected for row deletion.

I am selecting the whole row (from the left side of the sheet) & then going
to the end of the sheet to grab the bottom.

I have over 6,000 rows in this one sheet! No idea how it happened or how I
can get rid of them (other than copy/paste what I want to save into a new
worksheet).

Thanks!
JoAnn
Gord Dibben - 27 Feb 2008 00:19 GMT
Rows of what?  Data or just blank rows?

An Excel worksheet has 65536 rows and 256 columns(2007 version has over one
million rows and 16,384 columns)

None of these can be deleted.

Data can be deleted or cleared but the rows and columns remain the same number.

Gord Dibben  MS Excel MVP

>Anyone have any idea why I wouldn't be able to delete rows in a worksheet?
>It doesn't seem to be protected for row deletion.
[quoted text clipped - 8 lines]
>Thanks!
>JoAnn
JoAnn - 27 Feb 2008 13:27 GMT
Thanks, that explains it! The rows are blank.

My reason for trying to delete them ... the spreadsheet is not set as
"shared" but is being stored in MS Sharepoint & for some reason it takes 1-2
minutes to open from there (opens much faster on my PC).

Thought the number of blank rows was the reason.  Now that I know it's
standard for Excel, I'll check our IT department & the Sharepoint Newsgroup
to try to find out why this particular workbook opens so slowly when others
don't.

If you have any idea why that would happen (from an Excel standpoint),
please let me know. I don't have any macros in it (yet) & there are only
about 80 rows of data in one sheet & 20 in another.  

Also ... there will be a 3rd "archive" sheet  eventually so the workbook
will be growing quite large with time so if there's a  limit to overall
workbook size, please let me know.

Thanks for your help!
JoAnn

> Rows of what?  Data or just blank rows?
>
[quoted text clipped - 19 lines]
> >Thanks!
> >JoAnn
Gord Dibben - 27 Feb 2008 18:27 GMT
What is the file size now that you have reset the used range on all sheets?

Should be very small if your data is as you state.

I don't work with SharePoint at all so can't speak to that.

Overall workbook size is a function of the resources you have available.

I have heard of workbooks at the 100Mb area.

Gord

>Thanks, that explains it! The rows are blank.
>
[quoted text clipped - 41 lines]
>> >Thanks!
>> >JoAnn
JoAnn - 27 Feb 2008 19:23 GMT
The file size is 20,073KB.  

What do you mean by "reset the used range on all sheets"?  I haven't done
that since I didn't know I had to and don't know how to do it.  I couldn't
find anything in Help on it.  Please explain what I have to do.

The only ranges I have set are the sections I'm using for calculations. But
when I format or add a formula to a cell/column/row, I generally copy it down
so it exists in all worksheet rows/columns (I use the keyboard sequence
Ctrl-Shift-DownArrow to select them then paste my formula or formatting
change). That's when I noticed that I had a lot of rows. Could that be
causing a problem?

Thanks for all your help with this!
JoAnn

Signature

JoAnn

> What is the file size now that you have reset the used range on all sheets?
>
[quoted text clipped - 53 lines]
> >> >Thanks!
> >> >JoAnn
Gord Dibben - 27 Feb 2008 20:58 GMT
Apologies for the lack of direction about re-setting the used range on a sheet.

The reason you have such a large used range is the copying of formulas down and
across far more rows and columns than you may reasonably need.

To reset the used range, go to the bottom of your actual data.

Select the row below and SHIFT + End + DownArrow

Edit>Delete>Entire Row.

Do same for all columns to the right of your data.

Do this on all sheets.

Now......important part.........Save/Close and reopen.

What is size of workbook now?

To address the original problem, which is having formulas :just in case" you may
want to read up on "Dynamic Ranges" at Debra Dalgleish's site.

http://www.contextures.on.ca/xlNames01.html#Dynamic

Formulas can be entered that will look at only the used range.

Gord

>The file size is 20,073KB.  
>
[quoted text clipped - 11 lines]
>Thanks for all your help with this!
>JoAnn
JoAnn - 28 Feb 2008 17:21 GMT
That did it!!!  It's down to 93KB now.
Thank you so much for all your help!

Signature

JoAnn

> Apologies for the lack of direction about re-setting the used range on a sheet.
>
[quoted text clipped - 39 lines]
> >Thanks for all your help with this!
> >JoAnn
Gord Dibben - 28 Feb 2008 22:09 GMT
Down from 20,037kb to 93kb

You must have filled a lot of cells with formulas<g>

Good to hear and thanks for the feedback.

Again, apologies for the lack of instruction.

I had just finished giving the insrtructions to another poster and got the tow
of you mixed up.

None too uncommon, I might add.

Gord Dibben  MS Excel MVP

>That did it!!!  It's down to 93KB now.
>Thank you so much for all your help!
JoAnn - 29 Feb 2008 18:05 GMT
Thanks for all your help, Gord ... if I can impose on you a little further ...

I'm having trouble creating a dynamic data range for my worksheet data.

I have manually selected the rows & columns I want to define as the starting
range (A4 through Z109 - I'm ignoring the 1st 3 rows since I use them as
headers).

Then I used Insert > Name > Define to create the dynamic range (called
Used_Data_Range) and entered the following formula:

=OFFSET(DOCs!$A$1,0,0,COUNTA(DOCs!$A:$A),COUNTA(DOCs!$1:$1))

When I check the range, I only get up to Column O and down to Row 110. Even
though there is still populated columns beyond it (the rows below are empty).

What am I doing wrong?

Also ... my understanding is that once this range is set & I start to enter
data in row 110, etc.,  it will automatically extend the range, carrying over
all formatting, formulas & attributes from within the range providing I have
Extend Data Range Formulas & Formats checked (which I do).  Is that correct?
Or do I have to do anything else?

As usual ... thanks for your help!
Signature

JoAnn

> Down from 20,037kb to 93kb
>
[quoted text clipped - 13 lines]
> >That did it!!!  It's down to 93KB now.
> >Thank you so much for all your help!
Gord Dibben - 29 Feb 2008 23:00 GMT
See in-line responses.

>Thanks for all your help, Gord ... if I can impose on you a little further ...
>
[quoted text clipped - 3 lines]
>range (A4 through Z109 - I'm ignoring the 1st 3 rows since I use them as
>headers).

Do not pre-select any range.

The purpose of a dynamic range is to let Excel determine the used range based on
the "refers to" formula.

>Then I used Insert > Name > Define to create the dynamic range (called
>Used_Data_Range) and entered the following formula:
>
>=OFFSET(DOCs!$A$1,0,0,COUNTA(DOCs!$A:$A),COUNTA(DOCs!$1:$1))

Change to   =OFFSET(DOCs!$A$1,3,0,COUNTA(DOCs!$A:$A),COUNTA(DOCs!$1:$1))

The Offset,3,0  means start 3 cells down from A1 and look down from there.

>When I check the range, I only get up to Column O and down to Row 110. Even
>though there is still populated columns beyond it (the rows below are empty)

If the   COUNTA(DOCs!$1:$1))  which means count across row 1 does not go all the
way across, perhaps your headers in row 1 only go to O1

Try entering a row which extends to the last used column.  Maybe $4:$4  ?

Assuming you have data in A1:Z109

F5......enter Used_Data_Range and see what gets selected.

>What am I doing wrong?
>
[quoted text clipped - 3 lines]
>Extend Data Range Formulas & Formats checked (which I do).  Is that correct?
>Or do I have to do anything else?

Yes, the formatting should follow from above when you enter data in last unused
row.

Not sure where your formulas come into play however?

Gord

>As usual ... thanks for your help!
JoAnn - 04 Mar 2008 15:40 GMT
Once again you've solved the problem!  It works great now ... thanks for all
your help!
Signature

JoAnn

> See in-line responses.
>
[quoted text clipped - 48 lines]
>
> >As usual ... thanks for your help!
Gord Dibben - 04 Mar 2008 17:49 GMT
Good to hear.

Thanks for the feedback.

>Once again you've solved the problem!  It works great now ... thanks for all
>your help!

Rate this thread:






 
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.