Microsoft Excel – sorting or Charting Week1, Week2 etc

Someone I was training had a spreadsheet with one column showing Week 1 onwards and another column showing sales figures for that week.

Week1

If you sort the information by another column and then sort by the week column again, you will not get the same order as when you started.

Week2

This is because the Week field is a text field so Week 10, etc come before Week 2. This is not usually what you want if you need to report on the data, chart the data, etc. So before you do any manipulation of the data, you could create a custom sort.

To do this, select the data in the Week field.

Go to File – Options – Advanced. Scroll down to the General section, then click Edit Custom Lists.

Week4

Check that the required list is in the Import list from cells box.  Click Import. Click OK twice.

Now if you sort by another column and want to get back to the original sort order, from the Data tab, click the larger Sort Week5button.

Select Week from the Sort by dropdown, then from the Order dropdown, click Custom List.

Week6

Week7

Select the relevant list, then click OK. You will then have your required sort order.

Find out more about our Microsoft Excel training in the London area.

Find out more about our Microsoft Excel training in Dorset, Somerset, Wiltshire, Hampshire.

Advertisements

About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Microsoft Excel, Microsoft Excel 2007, Microsoft Excel 2010, Microsoft Excel 2013, Microsoft Excel 2016, Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s