1

Apart from using the sort function (which is available to only MS 365 subscribers for now), is there a function (or combination of functions) that can be used to return a list of numbers (say 4,5,1,5,3,2,4 in column A) to another column in increasing order?

1 Answer 1

4

Use AGGREGATE:

=AGGREGATE(15,4,$A$1:$A$7,ROW())

enter image description here

Sign up to request clarification or add additional context in comments.

3 Comments

Thanks a lot, although, I used the small function directly.
Would have been nice to have short explanation of what the aggregate function does, and it's arguments. I.e. What does the 15;4 do?
@not2qubit 15 means function type SMALL and 4 means option Ignore nothing, so AGGREGATE returns k smallest value from range A1:A7.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.