Excel, Database, Row Delete

you can check the skipWhile combined with a takeWhile approach