Forum Discussion
SimonMS
Nov 24, 2025Occasional Reader
Excel bug Data sorting largest to smallest
I have some problems by sorting data in excel. First sorting by column M Largest to Smallest, than by column L also Largest to Smallest. In one case sorting is not successfully (Marked font color R...
IlirU
Nov 25, 2025Brass Contributor
Try this formula:
=SORT(IF(B5:M62 = "", "", B5:M62), {12,11}, {-1,-1})
Hope this helps.
- SergeiBaklanNov 25, 2025Diamond Contributor
It gives exactly the same (i.e. wrong) result
plus doesn't sort in place.
- IlirUNov 25, 2025Brass Contributor
I don't know why you get those results. With my formula, I get these results like in the image.
I have apply my formula in cell O5.