Excel - M
orders the rows by metabolite name and then RT valueRT max difference (seconds)
as a "threshold" and
fclusterdata ("distance" criterion).
Shift+Ctrl+F9
to recalculate all formulas in the document. (See "Recalculate on File Load" buried in the menu: Tools - Options - LibreOffice Calc - Formula
.)