ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Deleting rows (https://www.excelbanter.com/excel-worksheet-functions/229773-deleting-rows.html)

ozhunter

Deleting rows
 
I have a spreadsheet that has a large number of rows, some of which have data
in only one cell in that row (the sum of the cells above for example).

I would like to be able to delete all rows that contain nothing or "" as the
result of a formula.

Can anyone help

Jacob Skaria

Deleting rows
 
Suppose you have data from Col A to Col J and want to delete all rows which
do not have data..
In Cell K1 enter the below formula which will return TRUE if all cells in
the row are blank or "" in the row. copy the formula down. Sort that column.
Delete all rows with TRUE.

=COUNTIF(A1:J1,"")=(COLUMN()-1)

If this post helps click Yes
---------------
Jacob Skaria


"ozhunter" wrote:

I have a spreadsheet that has a large number of rows, some of which have data
in only one cell in that row (the sum of the cells above for example).

I would like to be able to delete all rows that contain nothing or "" as the
result of a formula.

Can anyone help



All times are GMT +1. The time now is 02:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com