I did make a databasedocument from the spreadsheet.
Then I displayed the data in the datasource.( open it with control-shift-f4).
I did select 5 records.
Copy the records
Did select the complete small table.
Delete the selection
Paste the data in the selection.
It was more easy to do it in this way there I could select by hand the records I want have .
I have now also add the file I did use.
met_5_rijen_01.ods (31.9 KB)
Edit
I handel the sample-data-row and the error-data-row as one record for copy. In the small they stay on one line but for the diagram are not the same. It is difficult to explain but I hope that the file will make it clear.