Excel formula to sort data

keranali

Rules Violation
Joined
Oct 4, 2010
Messages
234
Office Version
  1. 365
Platform
  1. Windows
Good Day all I am looking for an excel formula to sort this data by largest to smallest... Sorting row B and inputting in Row C the values of Row A e.g below

Ying 1.4.2.xlsm
KLMNOPQRST
28A123456789
29B13141511141331011
30C325164983
Overview
Cell Formulas
RangeFormula
L29L29=N18+P18+R18+T18
M29M29=N19+P19+R19+T19
N29N29=N20+P20+R20+T20
O29O29=N21+P21+R21+T21
P29P29=N22+P22+R22+T22
Q29Q29=N23+P23+R23+T23
R29R29=N24+P24+R24+T24
S29S29=N25+P25+R25+T25
T29T29=N26+P26+R26+T26
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
So. are you saying your expected result is:
11,14,13,11,13,15,14,10,3 ?
 
Upvote 0
Thanks for your response This is what i want the result to look like


Ying 1.4.2.xlsm
LMNOPQRST
30325164983
3115141413131111105
Overview



Data Table to sort

Ying 1.4.2.xlsm
LMNOPQRST
28123456789
2913141511141331011
Overview
Cell Formulas
RangeFormula
L29L29=N18+P18+R18+T18
M29M29=N19+P19+R19+T19
N29N29=N20+P20+R20+T20
O29O29=N21+P21+R21+T21
P29P29=N22+P22+R22+T22
Q29Q29=N23+P23+R23+T23
R29R29=N24+P24+R24+T24
S29S29=N25+P25+R25+T25
T29T29=N26+P26+R26+T26
 
Upvote 0
so much confusion?
No 7 and two 3's in row 30,
You have a 3 in R29 that is not in row 31.
 
Upvote 0
Yes I see the error sorry about that here is the revised version


Ying 1.4.2.xlsm
LMNOPQRST
28123456789
29579914131395
30567348219
Overview
Cell Formulas
RangeFormula
L29L29=N18+P18+R18+T18
M29M29=N19+P19+R19+T19
N29N29=N20+P20+R20+T20
O29O29=N21+P21+R21+T21
P29P29=N22+P22+R22+T22
Q29Q29=N23+P23+R23+T23
R29R29=N24+P24+R24+T24
S29S29=N25+P25+R25+T25
T29T29=N26+P26+R26+T26
 
Upvote 0
Yes I see the error sorry about that here is the revised version


Ying 1.4.2.xlsm
LMNOPQRST
28123456789
29579914131395
30567348219
Overview
Cell Formulas
RangeFormula
L29L29=N18+P18+R18+T18
M29M29=N19+P19+R19+T19
N29N29=N20+P20+R20+T20
O29O29=N21+P21+R21+T21
P29P29=N22+P22+R22+T22
Q29Q29=N23+P23+R23+T23
R29R29=N24+P24+R24+T24
S29S29=N25+P25+R25+T25
T29T29=N26+P26+R26+T26
still confused. What happened to Row 31 ?
 
Upvote 0
maybe this works for you:
Mr excel questions 36.xlsm
ABCDEFGHI
28
29123456789
30579914131395
31567348219
32141313999755
33
34567348219
35141313999755
Sheet1
Cell Formulas
RangeFormula
A32:I32A32=HLOOKUP(A31,$A$29:$I$30,2,FALSE)
A34:I35A34=SORT($A$29:$I$30,2,-1,1)
Dynamic array formulas.
 
Upvote 1
Is this what you mean
Fluff.xlsm
LMNOPQRST
28123456789
2913141511141331011
30325164987
Master
Cell Formulas
RangeFormula
L30:T30L30=SORTBY(L28:T28,L29:T29,-1)
Dynamic array formulas.
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top