auto sort

bmuddy2

Active Member
Joined
Jun 22, 2004
Messages
398
good morning fellas
needing a formula to auto sort as values in column H change. i had this before but cant seem to get my old formula to work.



Excel 2012
GHIJK
1data sampleexpected results
2busy27material158
3fire alarm1machine maint98
4hot runner36robot60
5machine maint98other53
6material158hot runner36
7nozzell change6
8robot60and so on.
9thermolater9
10tool problem31
11water leak9
12other53
13aa0
14bb0
15cc0
16dd0
17ee0
18ff0
Sheet1
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi, here is one possibility.


Excel 2013
GHIJK
1data sampleexpected results
2busy27material158
3fire alarm1machine maint98
4hot runner36robot60
5machine maint98other53
6material158hot runner36
7nozzell change6tool problem31
8robot60busy27
9thermolater9thermolater9
10tool problem31water leak9
11water leak9nozzell change6
12other53fire alarm1
13aa0aa0
14bb0bb0
15cc0cc0
16dd0dd0
17ee0ee0
18ff0ff0
Sheet1
Cell Formulas
RangeFormula
J2=INDEX($G$2:$G$18,AGGREGATE(15,6,ROW($G$2:$G$18)-ROW($G$2)+1/($H$2:$H$18=K2),COUNTIF($K$2:K2,K2)))
K2=LARGE(H$2:H18,ROWS($K$2:K2))
 
Upvote 0

Forum statistics

Threads
1,215,454
Messages
6,124,933
Members
449,195
Latest member
Stevenciu

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