SOLVED

Does SORTBY always sort by row whereas SORT can sort by row and can sort by column?

Copper Contributor

SORTBY always sorts by row whereas SORT can sort by row and can sort by column.

Do I interpret it correctly? Or is there a way, that SORTBY can sort by column?

2 Replies
best response confirmed by Regina_Henschel (Copper Contributor)
Solution

@Regina_Henschel 

SORTBY can sort both by row and by column, depending on the shape of the by_array arguments.

In the screenshot below, the by_array argument B2:E2 is horizontal, so the range is sorted horizontally.

HansVogelaar_0-1722178041312.png

 

1 best response

Accepted Solutions
best response confirmed by Regina_Henschel (Copper Contributor)
Solution

@Regina_Henschel 

SORTBY can sort both by row and by column, depending on the shape of the by_array arguments.

In the screenshot below, the by_array argument B2:E2 is horizontal, so the range is sorted horizontally.

HansVogelaar_0-1722178041312.png

 

View solution in original post