Skip to main content

Sorting Data in an Excel Chart


 - In this section you'll learn how to create a chart from data in a spreadsheet. You'll also learn how to sort data. Sorting data and charts are not part of the same subject: you can sort data without having a chart, and have a chart without sorting data. But sorting data sometimes comes in useful, so we'll tackle it now, and used our sorted data to create our chart.
Before we start this section, though, you need to create the spreadsheet below. Type in the data exactly as it is in this one:
The data for your Excel Chart
The spreadsheet above shows the viewing figures for BBC 1 and ITV. The soap operas Eastenders and Coronation Street are not included. The ITV programmes have already been sorted, but the BBC programmes have not. We'll sort the BBC programmes now.

Sorting the Data

After we sort the BBC1 programmes, the highest viewing figures will be at the top and the lowest at the bottom. This is a Descending sort. If we were sorting the other way around, with the lowest first and the highest last then it would be a Ascending sort.
Before you can sort data, you need to "tell" Excel what you want to sort. You "tell" Excel by highlighting the data. So highlight the BBC 1 programmes and the figures. Your highlighting should look like the one in the image below.
Highlighting the Data
To sort the BBC 1 figures, do the following:
  • From Excel's menu bar, click Data
  • From the drop down menu, click Sort
  • A dialogue box appears
The Sort dialogue box
In the Sort By box it says "Column A". To the right of this there a Ascending radio button and a Descending radio button. The Sort By box is actually a drop down list.
  • Click the word Descending to select this option
  • Click the black down-pointing arrow on the Sort By box
  • From the drop down list, click on Millions
You could click the OK button right now and the data would be sorted. But what about those "Then By" boxes? What do they do? Well, suppose two of the programmes had exactly the same viewing figures. We have chosen to Sort By the Millions column, the numbers. If two programmes had the same numbers we could specify what to sort on next. If you click the black down-pointing arrow of the first "Then By" box you'll see a drop down list. It's the same list as the Sort By box. Select "Column A" and Descending. If two programmes had the same viewing figures, Excel will then look at Column A. It will see text in this column. It will then sort the two programmes that have "drawn" into alphabetical order.
So the "Then By" boxes are for what happens in the event of a draw. You choose which column to sort on next. But click the OK button when your dialogue box looks like the one below:
Sort By
Your BBC 1 Viewing figures should now look like this:
The sorted data


And that's all you need to do for the sort. We can move on to creating a Chart from our data.

Comments

Popular posts from this blog

PRATYUSHA HOME

Hi interesting readers, Prathysha NGO, Chennai. Bala gurukul orphange, chennai. Pratyusha support, Hyderbad. Krr oldage home, Vizag. Disa foundation.......................................................... so on..................... Join hands with us for a good cause. Thank you all. Contact  us on our  whatsapp no:  8939374254    for the more details. You can pay through Paytm scanner. for each donor we will give an online PDF book as a gift. Thank you Pratyusha Home
Java Contents  -This free course is for those wishing to learn the Java programming language. It is aimed at complete beginners to the subject, and no knowledge is assumed. The software you need to do the course is set out below, in the "What you need to get started" link. Once you have downloaded everything you need, you can make start by following the links on this page. Good luck! Home Page > Section 1: Getting Started with Java 1. What you need to get started 2. The Netbeans Software 3. Java Comments 4. The Structure of Java Code 5. How to Run your Java Programmes 6. Printing to the Output Window 7. Sharing your programmes with others > Section 2: Variables 1. Integer Variables in Java 2. Double Variables 3. Short and Float 4. Operator_Precedence 5. Java String Variables 6. Getting Input from the User 7. Option Panes > Section 3: Control Flow 1. If Statements in Java 2. If Else Statements 3...
Microsoft Word  -This is a full and free computer course for Microsoft Word 2007 to 2016. It is designed for complete beginners. If you're not sure whether or not you're in the right place take a look at Section 1.1 below, How to Open Microsoft Word. For those who have older versions of Word (versions up to 2003) then your tutorials are here:  Word 2000 to 2003 (Older versions) Home Page > Section One - Get Started with Microsoft Word   1.1 How to Open Microsoft Word 1.2 Finding Your Way Around 1.3 Typing Your First Letter 1.4 How to Save Your Work 1.5 Highlighting Techniques 1.6 Opening Word Documents 1.7 Add an Address To A Letter 1.8 Spelling and Grammar Checking > Section Two - Document Formatting   2.1 Crime Statistics Document 2.2 Bold Text 2.3 Italics and Underline 2.4 Seting Tab Stop Positions 2.5 Creating Bulleted Lists 2.6 Working With Fonts 2.7 Setting Up Page Margins > Section Three - C...