Deleting empty rows in Numbers

I have two spreadsheet files...one created in .csv format and that same file I converted into .numbers format. (Of course Numbers automatically opens the csv file as a numbers file.) The csv is 1.5 MB and the numbers is 5.7 MB.


I highlighted about a thousand rows of data entries that I did not need in my Numbers spreadsheet to make it smaller and faster to work with the data I wanted. But it seems Numbers only deleted the data and not the rows themselves so I still have a huge spreadsheet with mostly empty rows.


How do I delete those empty rows or resize my spreadsheet so it is smaller?

MacBook Air, macOS High Sierra (10.13)

Posted on Aug 20, 2018 7:45 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 20, 2018 7:34 PM

Are the rows you want sequential? If so, single click the first row, then scroll to the last row, then hold the shift key and single click the last row. This will select all rows starting with the first to the last, then use the contextual menu to delete the selected rows.



Select the first row:

User uploaded file


select the list row of the range you want to delete:

User uploaded file

Select the contextual menu item to delete rows:

User uploaded file

6 replies
Question marked as Top-ranking reply

Aug 20, 2018 7:34 PM in response to Staynavytom

Are the rows you want sequential? If so, single click the first row, then scroll to the last row, then hold the shift key and single click the last row. This will select all rows starting with the first to the last, then use the contextual menu to delete the selected rows.



Select the first row:

User uploaded file


select the list row of the range you want to delete:

User uploaded file

Select the contextual menu item to delete rows:

User uploaded file

Aug 20, 2018 10:48 PM in response to Staynavytom

Hi Tom,


IF the order of the rows containing data is sortable into an order that is useful, pick the column that makes sense for a sort, and sort the table. The object of your sort is to get all the empty rows gathered together in a group, either at the beginning of the table, or at the end of the table.


With the table sorted, follow Wayne's procedure to delete the now sequential rows.


IF the table is not sortable because you want to keep the current order, add a temporary column to restore the current order after deleting the empty rows. For the description, I'll call this Column Z. Substitute an appropriate letter for your table.


In the first non-header row of column Z, type = to open the formula editor. Enter ROW() as the formuls, then click the green checkmark to confirm the formula and close the editor. Press command-C to Copy.


With that cell still selected, scroll to the last row of the table. Press and hold the shift key as you click on the last cell in column Z. Press command-V to Pste the formula in all cells on column Z.


With all cells in column Z still selected, press command-C to copy, then go Edit (menu) > Paste formula results to replace the formulas with fixed values.


Now sort the table on a column containing data to group the empty rows, select and delete those rows as described above, the re-sort ascending on column Z to restore the original order of the remaining rows.


Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Deleting empty rows in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.