Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Data Filtering and Sorting ยท Lesson 4 of 10

Module Three

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
4

Module 3: Basic Data Sorting in Excel

3.1 What is Sorting in Microsoft Excel?

Sorting in Microsoft Excel means arranging information in a particular order. You can arrange names alphabetically, numbers from smallest to largest, or dates from oldest to newest.

Imagine your teacher has a list of 50 students and their examination scores. The teacher wants to identify the students with the highest scores.

Instead of checking every student's result manually, the teacher can use Excel's sorting feature to arrange the scores from highest to lowest.

This makes finding important information much faster and easier.

3.2 Understanding Ascending Order

Ascending order means arranging information from the smallest to the largest or from A to Z.

In Excel, ascending order is useful when you want to arrange numbers, names, or dates in increasing order.

Examples of Ascending Order

  • Numbers: 5, 10, 15, 20, 25.
  • Names: Ada, David, Grace, John, Musa.
  • Dates: January, February, March, April.

Practical Example

Consider the following list of students and their examination scores:

Student Name Score
John70
Ada85
Peter45
Musa95
Grace60

If you sort the scores in ascending order, the result will look like this:

Student Name Score
Peter45
Grace60
John70
Ada85
Musa95

Notice that the lowest score appears first, while the highest score appears last.

3.3 Understanding Descending Order

Descending order means arranging information from the largest to the smallest or from Z to A.

This is useful when you want to identify the highest scores, most expensive products, or newest dates.

Examples of Descending Order

  • Numbers: 100, 80, 60, 40, 20.
  • Names: Musa, John, Grace, David, Ada.
  • Dates: December, November, October, September.

Practical Example

Using the same student examination records, sorting the scores in descending order produces this result:

Student Name Score
Musa95
Ada85
John70
Grace60
Peter45

The highest score now appears first. This makes it easy for the teacher to identify the best-performing student.

3.4 How to Sort Text Alphabetically in Excel

Excel allows you to arrange names, places, products, and other text information alphabetically.

Follow these steps:

  1. Open Microsoft Excel.
  2. Enter a list of names in a column.
  3. Click any cell inside the list.
  4. Click the Data tab at the top of Excel.
  5. Look for the Sort & Filter section.
  6. Click Sort A to Z to arrange the names alphabetically.

You can also click the Sort A to Z button from the Home tab under Sort & Filter in supported Excel versions.

Example

Before sorting:

  • Musa
  • Ada
  • John
  • Grace
  • David

After sorting from A to Z:

  • Ada
  • David
  • Grace
  • John
  • Musa

3.5 How to Sort Numbers in Excel

Excel can arrange numerical information from the smallest to the largest or from the largest to the smallest.

For example, a shop owner may want to arrange product prices to identify the cheapest or most expensive products.

Example: Product Prices

Product Price
Rice5000
Bread2000
Milk3000
Sugar1500
Beans4000

To arrange the prices from smallest to largest:

  1. Select a cell inside the product table.
  2. Click the Data tab.
  3. Click Sort Smallest to Largest.
  4. If Excel asks whether to expand the selection, choose Expand the selection so the product names stay with their correct prices.
  5. Click Sort to complete the process if prompted.

The products will now be arranged according to their prices.

3.6 How to Sort Dates in Excel

Excel can also arrange dates in chronological order. This means arranging dates from the earliest to the latest or from the latest to the earliest.

For example, a school administrator may have a list of students' registration dates.

Student Name Registration Date
Ada15/03/2026
John10/01/2026
Musa20/05/2026
Grace05/02/2026

To arrange these dates from oldest to newest:

  1. Click a cell inside the dataset.
  2. Open the Data tab.
  3. Click Sort Oldest to Newest.
  4. Make sure the student names remain connected to their registration dates.

Excel will arrange the dates in chronological order.

3.7 Important Things to Remember When Sorting Data

Sorting is easy, but you must be careful to avoid mistakes.

  • Select the Correct Data: Make sure you are sorting the correct column or dataset.
  • Keep Related Information Together: Always expand the selection when sorting a column within a dataset so that the rows remain correctly matched.
  • Use Headers: Give your columns clear names so Excel can identify them.
  • Check Your Results: Confirm that the information has been arranged correctly.
  • Use the Correct Order: Choose ascending or descending depending on what you want to achieve.

3.8 Practical Exercise

Imagine you are helping your teacher organise the examination results of five students.

Student Name Score
Samuel65
Joy90
Daniel55
Faith80
Michael75

Complete the following activities in Microsoft Excel:

  1. Enter the student names and scores into Excel.
  2. Sort the students alphabetically from A to Z.
  3. Sort the examination scores from smallest to largest.
  4. Sort the examination scores from largest to smallest.
  5. Identify the student with the highest score.

3.9 Module Summary

In this module, you have learned that:

  • Sorting means arranging information in a particular order.
  • Ascending order arranges information from smallest to largest or A to Z.
  • Descending order arranges information from largest to smallest or Z to A.
  • Excel can sort text alphabetically.
  • Excel can sort numbers from lowest to highest or highest to lowest.
  • Excel can arrange dates from oldest to newest or newest to oldest.
  • Related information must remain together when sorting a dataset.

Key Lesson

Sorting helps you organise information quickly. With Microsoft Excel, you can arrange names, numbers, prices, and dates without manually moving information from one place to another.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’