LibreOffice comes with a database component which can generate real database tables.
I think, that “Tables” in Excel are somewhat like “Database Ranges” in Calc.
Data>Define… defines a named database range with or without header row.
Data>Select… selects a chosen database range.
A database range should be a flat list having one header row of column labels and consistent data below labels. It can “remember” the last applied filter setting and sort order. You can use the name in formulas.
P.S. a macro that helps to expand/shrink referenced cell ranges, including database ranges, with 2 shortcuts.
Install the macro.
Assign 2 shortcuts for expansion and deletion. I suggest Ctrl+Insert and Ctrl+Delete.
- The insertion macro retrieves the current region around the current cell/range selection, and inserts into the current region as many rows. Then it copies down any formulas from the preceeding row. You can insert new rows anywhere within or directly below the list range. All references in formulas, charts, conditional formattings, validations, names and database ranges will be updated to the new size of your range.
- The deletion macro retrieves the current region around the current cell/range selection, and deletes from the current region as many rows as selected.
https://forum.openoffice.org/en/forum/download/file.php?id=46813