MrExcel's Learn Excel #520 - Custom Sort

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Aug 21, 2009.
Sometimes, your company tradition will force you to sort into neither ascending or descending sequence. Episode 520 shows you how to set up a custom sort in Excel 2003 or Excel 2007.

This blog is the video podcast companion to the book, Learn Excel from MrExcel and Excel 2007 Miracles Made Easy. Download a new two minute video every workday to learn one of the tips from the books!
maxresdefault.jpg


Transcript of the video:
Hey, welcome back to the MrExcel netcast.
I'm Bill Jelen.
Now, in yesterday's netcast we talked about how to do a special kind of sort.
where we had a sort on the center Portion of a serial number.
Reminded me of a cool trick that we have where we need to do something called a custom sort.
Here I have a series of products it runs from model 600 up through 900 and then there's also brand new model the new super duper model 1100 and when I sort this data set ascending the model 1100 because this is stored as text comes to the top instead of showing up at the bottom.
Now, the solution to this is to use a custom list I came over here to the right hand side and typed the list in the order that I wanted to actually appear and we go to Tools, Options and then the Custom List tab and click Import.
Now, because I've already pre-selected the data. It's going to work fine.
We have a new custom list now that shows that order in Excel 2003.
We'll go to the Data, Sort dialog say that we're going to Sort by Model, but then click options instead of saying that it's a normal sort order we want to say that we're going to sort it into model 600, 700, 800 order, click OK, click OK.
And now when we sort the 600's come to the top I'll hit end down and you'll see the 1100 to go to the bottom.
Now, in excel 2007 of course this has changed just a tiny bit to get the custom list in you're going to go to the office icon and then choose Excel Options and then right in the popular tab there's something called edit custom lists which basically brings us back to the same dialog box we had in Excel 2003, click Import and OK.
To do the sort you're going to go to the data tab of the ribbon and actually click on the sort icon instead of A to Z we're going to Sort by Model and then go to the order drop-down and choose custom list.
So, that we want to use the 600, 700, 800 sequence and now, when we click OK again, the models show up with the 600 at the top and the 1100 the bottom great way to do a custom sort anytime you have a unique list of items. For example, I used to have to sort East central and west with East coming first Central second and West third.
Easy to set up a custom list showing that sequence and then use a custom sort to force Excel to put your data in the sequence that your company normally presents it.
Hey, thanks for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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