Sorts

M

Mike

I want to be able to sort a data list based on a master list.

For example,

Master list:
Item # Item
1 Apple
2 Banana
3 Orange
4 Grape

My data list appears as:
Item Count
Orange 5
Banana 3
Grape 2
Apple 1

How do I sort my data list to my Master List automatically, so the data list
appears in the exact same order as the master list? Of course the lists I'll
be using are quite long so I do not want to have to manually sort the data
list.

Thanks
 
B

Bill Sharpe

Mike said:
I want to be able to sort a data list based on a master list.

For example,

Master list:
Item # Item
1 Apple
2 Banana
3 Orange
4 Grape

My data list appears as:
Item Count
Orange 5
Banana 3
Grape 2
Apple 1

How do I sort my data list to my Master List automatically, so the data list
appears in the exact same order as the master list? Of course the lists I'll
be using are quite long so I do not want to have to manually sort the data
list.

Thanks
Type "sort a range" in Excel's help box.

Bill
 
P

Pete_UK

You could add a third column to your data list and use a formula with
INDEX and MATCH to return the Item# from your master list for each of
the items. You can then sort these three columns using the extra column
as the sort field.

Hope this helps.

Pete
 
Top