Forum Discussion
bernidakis
Aug 19, 2022Copper Contributor
Complicated sorting
Hello I'm trying to sort some data, i have multiple columns that i want to use for the sort. I used the SORT function to sort by one column but then i want if 2 or more of the values are equal t...
- Aug 19, 2022
bernidakis It will stay at the bottom, indeed. Just give it a try yourself. Otherwise play around with the attached file.
Riny_van_Eekelen
Aug 19, 2022Platinum Contributor
bernidakis If you have SORT you should also have SORTBY. The fist argument is the array you want to sort, followed by pairs of columns and sort order.
Something like this:
bernidakis
Aug 19, 2022Copper Contributor
But if in line 4
name3 2 6
then will it go to the top or it will stay at bottom as it should?
name3 2 6
then will it go to the top or it will stay at bottom as it should?
- Riny_van_EekelenAug 19, 2022Platinum Contributor
bernidakis It will stay at the bottom, indeed. Just give it a try yourself. Otherwise play around with the attached file.
- bernidakisAug 19, 2022Copper ContributorTried it and worked perfectly! Thanks a lot!!!!