I created a formula to sort positive values.
=SORT(FILTER(A2:A, A2:A>0),1,1)
And turnd it to a named function with this formula definition, and named it SORT_POSITIVE
=SORT(FILTER(range, range>0),sort_column,is_ascending)
To use it like this.
=SORT_POSITIVE(A2:A,1,1)
It retrieves the sort column from the sort function within, as well as whether the sort is ascending or not.
Is there a method to set the named function's is_ascending default value to "1" when I don't set it to "0" or "1" for desending or ascending in the named function?
To be used Like this
=SORT_POSITIVE(A2:A)
Make a copy of the example sheet and the named function.
Recap: If the named function parameter is not supplied, use the default value.