there is no formula to do this. But you could use Filter from the Data menu that would hide those rows.

If you want to delete them, you'll need a macro. Or you can easily do it manually after sorting your table.