Page 1 of 1

issue reverse

Posted: Sat Mar 20, 2021 8:19 pm
by sna
Hi Dear,

I have data layout a2:b6 I need to sort it by max numbers.i need a formula not built in feature.
I attached a sample with result in color cells

Thanks

Re: issue reverse

Posted: Sat Mar 20, 2021 8:59 pm
by snasui
:D Try this,
  1. B12
    =LARGE($B$2:$B$6,ROWS(B$12:B12))
    Enter > Copy down
  2. A12
    =INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$6)/($B$2:$B$6=B12),COUNTIF(B$12:B12,B12)))
    Enter > Copy down

Re: issue reverse

Posted: Sun Mar 21, 2021 7:11 am
by sna
Thanks
but how we don't use helper column?

Re: issue reverse

Posted: Sun Mar 21, 2021 7:38 am
by snasui
:D You can do that with default feature or VBA not a formula.

Re: issue reverse

Posted: Sun Mar 21, 2021 12:44 pm
by sna
Ok thank you 🙏

Re: issue reverse

Posted: Sun Mar 21, 2021 1:28 pm
by snasui
snasui wrote: Sun Mar 21, 2021 7:38 am :D You can do that with default feature or VBA not a formula.
:D The above quote means your result in the same place of the source.

If you need only one formula, can use this formula in A12.

=INDEX(A:A,MOD(AGGREGATE(14,6,$B$2:$B$6+ROW($B$2:$B$6)/1000,ROWS(A$12:A12)),1)*1000)

Enter > Copy to B12 then down.

Re: issue reverse

Posted: Sun Mar 21, 2021 8:51 pm
by sna
Thank you so much 🙏