#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Lists

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Lists

Mike

Tools | Options... | Custom Lists Tab | Custom lists: New List | List
entries:
Apple, Banana, Orange, Grape

You can choose to import the Master List from an existing range so you only
have to put it in order once. Subsequently, if you need to update it ...
well add items where you need them.

When you sort the data, choose your custom list in the drop down box

Data | Sort | Options... | First key sort order

Regards

Trevor


"Mike" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down lists from multiple source lists RoofIL Excel Worksheet Functions 3 February 18th 10 09:44 PM
LISTS- adding info without repeat to other lists Jemimastar Excel Discussion (Misc queries) 1 December 1st 06 09:29 PM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
Comparing Lists to Partial Lists depuyus[_7_] Excel Programming 0 August 5th 04 01:43 PM
Form lists influencing other lists chanteribby Excel Programming 1 November 6th 03 03:39 AM


All times are GMT +1. The time now is 02:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"