The example was included in a Base forum, not Calc; I understand the latter would be prone to confusion, but the former seem to me pretty clear the quoted content included CSV, and yes it's CSV.
For archival or those that can't open the file, the 1st row is some odd header system, and the 1st 2 col(umns) are as in the OP example, and 3rd col contains
which I don't really understand why the 1st content row would fetch something in what seems to be the header, but anyway it will never happen as that condition for the 1st content will never happen... well with right data, but this isn't to be a commercial process to check for everything.
I marked the thread as solved as although I don't fully understand the issue at the beginning of this paragraph, the important part to just copy the 1st content group 1 over then check if the row is a group 1, and if not just copy the cell above.
I don't know why I didn't think of that. I was convinced this was something often seen in commercial situations (ie going through logs), and there would be tools for it; perhaps a set of macros or templates.
Thank you again
Je suis francophone.