Learn Excel - Sort by Columns: Podcast #1345

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 Feb 21, 2011.
Today's Learn Excel Podcast features a First for MrExcel! A Three-Level Side-to-Side Sort in Excel..."This is the first time that I've ever tried this, and it works!"

...This is the podcast companion to the book, Learn Excel 97-2007 from MrExcel.
maxresdefault.jpg


Transcript of the video:
MrExcel Podcast is sponsored by Easy-XL.
Learn Excel from MrExcel podcast episode 1345: Sorts Side to Side.
Hey welcome back to the MrExcel netcast and I’m Bill Jelen.
I'm starting out here and I have no idea if this is actually going to work.
Over the last couple of podcasts, I've matched this data up from the US to the Denmark sheet.
Have all the USA columns here and then the Denmark columns and you know--I would like to have USA and Denmark right next to each other.
Kind of wondered if I could use the Sort Columns to do this.
So I'm going to get rid of this extra column over here and I'm going to insert a new row up here and for these two cells I’m going to put the letter A to make sure they sort together and all of these cells put the letter B and Ctrl+Enter.
All right, now I know that I'm wanting to have to select that entire range and we'll go to Data, Sort, under options I'm going to say that I want to sort left to right, click OK.
Now I've never done a three level sort.
So what I’m going to do is I'm going to say sort by row 2, sort on values A to Z.
Add a level, sort on Row 3 nope row 4; that's the Year, sort on value sort A to Z and then add another level sort on Row 3, that's the country I want.
USA first and then Denmark.
So this one I’m going to say Z to A and click OK.
Hold my breath.
Sort numbers and numbers stored is text separately, that's funny there must be some of these years so anything that looks like a number sort as a number.
Click OKAY.
All right, so what do we get?
The A column stayed exactly where they were, that's good that's what I wanted then we have 2001 USA, 2001 Denmark, 2002 USA, 2002 Denmark and right on across all the way.
There we go.
Beautiful.
We can get rid of that extra row now, row 2, delete and we've put the data into a more usable format using a three-level sort columns.
Pretty slick if I say so myself.
I'm glad it worked never done that.
I always add an extra column to show which order I wanted the columns to go into but if there’s data there that's going to work.
All right, hey I want to thank you for stopping by we will see you next time another netcast from MrExcel.
 

Forum statistics

Threads
1,223,730
Messages
6,174,169
Members
452,548
Latest member
Enice Anaelle

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