Free. Exclusive. Just for you.
Four unique services that make learning easier, faster, and smarter - only on our website.

Sorting sales data by salesperson name in Excel using the SORT function.

Excel spreadsheet showing a formula to sort sales data by salesperson name in ascending order, with results displayed in two columns.

Excel spreadsheet showing a formula to sort sales data by salesperson name in ascending order, with results displayed in two columns.

JPG 760×476 56.2 KB Free · Personal Use
Quality Assured by Worksheets Library Team
Reviewed for educational accuracy and age-appropriateness
ID: #428596
Show Answer Key & Explanations Step-by-step solution for: Learn 25 Advanced Excel Functions & Formulas | Educba

Problem Description:


The image shows a spreadsheet with sales data for different salespersons. The task involves sorting the salespersons in two ways:
1. Alphabetical Order (A-Z): Sorting the salespersons based on their names in ascending alphabetical order.
2. Total Sales Order: Sorting the salespersons based on their total sales amounts in descending order.

The formula `=SORT(A2:A7)` is highlighted, indicating that the `SORT` function is being used to achieve these results.

Solution Explanation:



#### Step 1: Understanding the Data
The data in columns A and B is as follows:
- Column A: Sales_Person (names)
- Column B: Total Sales ($)

| Sales_Person | Total Sales ($) |
|--------------|------------------|
| Emily | 4568 |
| Justin | 2398 |
| Glory | 5321 |
| Alexander | 978 |
| Olivia | 1025 |
| William | 7378 |

#### Step 2: Sorting by Alphabetical Order (A-Z)
To sort the salespersons alphabetically, we use the `SORT` function with the following parameters:
- Range: The range of cells containing the salespersons' names (`A2:A7`).
- Sort Index: Since we are sorting only one column (the names), the default index is 1.
- Sort Order: By default, the `SORT` function sorts in ascending order, which corresponds to alphabetical order for text.

The formula used is:
```excel
=SORT(A2:A7)
```

Result:
The salespersons are sorted alphabetically as follows:
- Alexander
- Emily
- Glory
- Justin
- Olivia
- William

This matches the result shown in column D of the image.

#### Step 3: Sorting by Total Sales in Descending Order
To sort the salespersons based on their total sales in descending order, we need to:
1. Use the `SORT` function.
2. Specify the range of both the salespersons' names and their total sales (`A2:B7`).
3. Indicate that we want to sort based on the second column (total sales) using the `sort_index` parameter.
4. Specify that the sort order should be descending using the `sort_order` parameter.

The formula used is:
```excel
=SORT(A2:B7, 2, FALSE)
```
- Range: `A2:B7` (both names and sales amounts).
- Sort Index: `2` (indicating the second column, which contains the total sales).
- Sort Order: `FALSE` (indicating descending order).

Result:
The salespersons are sorted by their total sales in descending order as follows:
- William (7378)
- Glory (5321)
- Emily (4568)
- Olivia (1025)
- Justin (2398)
- Alexander (978)

This matches the result shown in column F of the image.

Final Answer:


- Alphabetical Order (A-Z):
```plaintext
Alexander
Emily
Glory
Justin
Olivia
William
```

- Total Sales Order (Descending):
```plaintext
William
Glory
Emily
Olivia
Justin
Alexander
```

Thus, the formulas and results are consistent with the image provided. The final answer is:
\boxed{
\text{Alphabetical Order: Alexander, Emily, Glory, Justin, Olivia, William} \\
\text{Total Sales Order: William, Glory, Emily, Olivia, Justin, Alexander}
}
Parent Tip: Review the logic above to help your child master the concept of professional excel sheets.
Print Download

How to use

Click Print to open a print-ready version directly in your browser, or use Download to save the file to your device. The ⭐ Answer button generates an AI answer key instantly - useful for teachers who need a quick reference. Need a different version? Our AI Worksheet Generator lets you create a custom worksheet on any topic in seconds.

(view all professional excel sheets)

You will get Financial Analysis Excel File with Interconnected Sheets
Pin on Excel
create professional excel and word sheets
Free Online Spreadsheet Software: Excel | Microsoft 365
Learn 25 Advanced Excel Functions & Formulas | Educba
Excel Spreadsheet Design - 7 Golden Rules
32 Free Excel Spreadsheet Templates | Smartsheet
Pivot Table - Advanced excel sheet | Icrest Models
Excel Spreadsheet Design - 7 Golden Rules
How to Make a Spreadsheet in Excel, Word, and Google Sheets ...