Spreadsheet - select some cells over multiple columns - F12 (or Data > Group or overvie > Group..) > dialog asks whether to group rows or columns, with rows selected. Could be done smarter ;)