If you want to purge in place then you really do need a macro. You just have to “run” the macro somehow. In the sample ODS the macro is called DoPurge. To run it I’ve put a button on the page just for simplicity. You can also run it from Tools>Macros>Run Macro (which is a pain) or set it into the toolbar or set it up as a keystroke using Tools>Customize>…
I’ve included two ways to “delete” entries. 1) Set the “deleted” cell’s value to “” and 2) Clear the contents of the deleted cell. Oddly, visually, it seems “quicker” to set the value to “”. If you choose to clear contents, please note that you must REM out the setDataArray toward the end of the macro, or the contents will pop back!
Also note that if you use clear contents and you are still editing one of your data cells, that cell won’t be cleared even if it should be. In general, make sure you have selected a cell outside your data before pressing the Do Purge button.
Purge All Repeats In Place.ods (18.0 KB)
BTW: ctrl+Z seems to undo the purge if you want to play around with your data for testing a bit.