ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do you delete blank rows in a spreadsheet using an "if" funct (https://www.excelbanter.com/excel-discussion-misc-queries/33790-how-do-you-delete-blank-rows-spreadsheet-using-%22if%22-funct.html)

John O'brien

how do you delete blank rows in a spreadsheet using an "if" funct
 
what syntax is correct in the false part of an "if" statement to delete a
blank row...eg =if( a1= "Tom", B1,{ what goes here to delete the row so as
blank rows are not returned}

Tom Ogilvy

Formulas can't be used to hide rows.

You can use a filter to hide rows based on a condition

select your data
Data=filter=Autofilter

select the column that has the values you want to filter on. Select the
dropdown and set the condition. so you would filter on Tom, so only rows
containing tom are visible.


Repeat the sequence to in the menu to remove the filter.

--
Regards,
Tom Ogilvy

"John O'brien" <John wrote in message
...
what syntax is correct in the false part of an "if" statement to delete a
blank row...eg =if( a1= "Tom", B1,{ what goes here to delete the row so as
blank rows are not returned}





All times are GMT +1. The time now is 08:56 PM.

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