Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dynamic sorting

ResolvedVersion 2010

Dynamic sorting

Hi

Is there a way I can sort a list of names based on a value in the next column where the values can change depending on the date I select from a drop-down?

I don't mind if the sorted list is generated in a different column

Example: The value in the Num column below will change if you select a different date.

Date: [drop-down]

List Num Sorted
Amber 16 Silver
Green 41 Amber
Violet 41 Brown
Silver 10 Grey
Brown 23 Green
Grey 23 Violet

I've tried RANK() but it doesn't handle duplicate values.

RE: Dynamic sorting - formatted table

List___Num____Sorted
Amber___16____Silver
Green___41____Amber
Violet__41____Brown
Silver__10____Grey
Brown___23____Green
Grey____23____Violet

RE: Dynamic sorting - formatted table

List___Num____Sorted
Amber___16____Silver
Green___41____Amber
Violet__41____Brown
Silver__10____Grey
Brown___23____Green
Grey____23____Violet

RE: Dynamic sorting - formatted table

Hi Richard

Just checking if you solved the sorting question.

If you use a pivot table you can make the list sort automatically though you will have to select Refresh.

Set the Row column to colour
Set the Value to Num (Sum of Num)

Then right click the value column of the pivot table and choose smallest to largest. Tie breakers will be sorted alphabetically by colour.

Hope that helps as an option.

Regards
Doug

Excel tip:

Reconciling a list to correspond with another

May have a list that needs to make but on another sheet one list seems to be out, eg. product list one sheet contains all product and inventory data, while the other contains pricing data. Both need to match with all products but there is more products in one list than the other. To find the disparaging product compare data in the two columns that need to match Make sure that order the same way.
Create another column in the sheet that has the most items and type in the first cell


=Exact(text1,text2) text1 being the cell that you want compared with text2 cell reference. Drag to filldown and your first false will give you for first cells that does not match. Correct insert the row with data in other sheet and continue the process until all the data returns true. Delete the column inserted.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.