Nápověda LibreOffice 25.2
Seřadí obsah oblasti nebo matice podle hodnot v jiné oblasti nebo matici.
SORTBY(Range; SortByRange1; SortOrder1 [; SortByRange2; SortOrder2 [; ...] ])
Oblast: Matice nebo oblast, která se má seřadit.
SortByRange1; SortByRange2;... : range 1, range 2,... are the arrays or ranges to sort on.
SortOrder1; SortOrder2;... : order 1, order 2,... are the orders to use for sorting. 1 for ascending, -1 for descending. Default is ascending.
{=SORTBY(A2:C7;A2:A7;1;C2:C7;-1)}
Seřadí oblast A2:C7 vzestupně podle prvního sloupce a sestupně podle třetího sloupce.
COM.MICROSOFT.SORTBY