is there a function in phpExcel which deletes a bunch of rows like you can do in excelI really don't understand what you're asking for. the removeRows() method allows you to select a starting row, and a number of rows to delete. All rows below the deleted rows move up.... that's pretty much what happens if you do it in Excel, though Excel does a few other things with formula references that you don't mention.... and PHPExcel also does those. And it certainly doesn't remove column formatting.
by selecting rows and choose 'delete rows'?
All rows below the deleted rows will move up and it’s done in less than one second.
Are you just asking us to make it faster so that it will run in less than a second?
There's some changes I'm testing at the moment that will make inserting/deleting faster, but it still won't be instantaneous without any processing required at all.
This delete function don’t need any checks of formulas or other things cause all cells depending on each other will also be deleted.I just don't follow this logic.... so you want all cells that contain formula referencing the deleted rows to be automagically deleted as well? Excel's delete does formula checks and makes adjustments across the spreadsheet whenever you delete a row or column, PHPExcel does the same... you're saying you want what Excel does, but don't want it to work the same way?