SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Module No. - 8
Sorting the Data List:
Excel provides the facility to sort the Data List on any column of the Data List.
Sorting means rearranging the row in increasing or decreasing column value.
When you sort the rows then rows having the same column-value, appear together.
Table on the next page show a Data List that has been sorted on “Department”
Column.
Sorting order can either be ascending (increasing) or descending (decreasing) Excel
sorting process can be broadly categorized into following categories.
(a)

Simple or Single level sorting

(b)

Complex or Multi level sorting

Simple Sorting:
In simple sorting, list is sorted only on single field/ column. To sort the list on
Department, following steps are observed :
(a)

Select those records of the Data List that have to be sorted. If the complete list
is to be sorted then place the cell pointer anywhere in the list, instead of
selecting the complete list by dragging the mouse.

(b)

Select Data option from the bar menu, it will display a submenu. On choosing
Sort... option from the submenu, Excel will display the following dialog box.

(c)

Clicks on down arrow button of Sort by drop down list box and choose Dept

in the option because you want to sort the list on department. After selecting
the sort field select sorting order, as ascending, by clicking on corresponding
radio button. At last select OK button. Data List will rearrange itself to
acquire following arrangement of records.
A

B

C

D

E

F

G
1
2
3
4
5
6
7
8
9
10
11

Code
E005
E010
E003
E002
E006
E007
E001
E004
E008
E009

Name
Rahul
Anil
Ramesh
Ajit
Babita
Subodh
Anil
Anil
Ajit
Ramesh

Dept.
Hardware
Hardware
Hardware
Software
Software
Software
Software
Support
Support
Support

Designation
Manager
Executive
Executive
Executive
Executive
Manager
Executive
Manager
Executive
Executive

Salary Bonus Total
8000
2000 10000
4000
2000
6000
6000
2000
8000
5500
3000
8500
6000
3000
9000
10000
3000 13000
7000
3000 10000
9000
2500 11500
4500
2500
7000
6000
2500
8500

Since this list is sorted on department, hence all the records having same department
name appear together and the order of sorting is ascending, therefore the order of the
department name has been kept as Hardware, Software and then Support.
Multi Level Sorting:
Sometimes you want the sorting to be more systematic. Once the records have been
sorted on one column, then you would like them to get further sorted on some other column
within the group. For example, we would like to sort the Data List on department but within
the department, we want to sort on the basis of designation in the descending order, so that
within the same group, records having Manager designation appears before the records,
having Executive designation. This type of sorting is called Multi level sorting. To perform
this type of sorting, follow the following steps:
(a)

Select the Data List that is to be sorted.

(b)

Chose Sort option from Data submenu, so as to get Sort dialog box on the
screen.

(c)

Select Dept and order as Ascending in Sort by list box and then select
Designation, and Descending radio button in first Then by list box. Finally,
select OK button.

Following Data List will be provided, which is sorted on Department and within
department, it is sorted on designation (descending order).
A

B

C

D

1 Code

Name

Dept.

Designation

2 E005

Rahul

Hardware

Manager

8000

2000

10000

3 E010

Anil

Hardware

Executive

4000

2000

6000

4 E003

Ramesh

Hardware

Executive

6000

2000

8000

2

E
Salary

F
Bonus

G
Total
5 E007

Subodh

Software

Manager

10000

3000

13000

6 E002

Ajit

Software

Executive

5500

3000

8500

7 E006

Babita

Software

Executive

6000

3000

9000

8 E001

Anil

Software

Executive

7000

3000

10000

9 E004

Anil

Support

Manager

9000

2500

11500

10 E008

Ajit

Support

Executive

4500

2500

7000

11 E009

Ramesh

Support

Executive

6000

2500

8500

We can resorted Data List further. For example, in the above case, sorting is to done
so that for the same designation, higher salary records appear first (descending order).
To introduce this step of sorting, select Salary in second Then by dialog box and
keep the order of sorting as Descending. This selection will result into following Data List.

A

B

C

D

E
Salary

F
Bonus

G

1 Code

Name

Dept.

Designation

Total

2 E005

Rahul

Hardware

Manager

8000

2000

10000

3 E010

Anil

Hardware

Executive

4000

2000

6000

4 E003

Ramesh

Hardware

Executive

6000

2000

8000

5 E007

Subodh

Software

Manager

10000

3000

13000

6 E006

Babita

Software

Executive

6000

3000

9000

7 E002

Ajit

Software

Executive

5500

3000

8500

8 E001

Anil

Software

Executive

7000

3000

10000

9 E004

Anil

Support

Manager

9000

2500

11500

10 E009

Ramesh

Support

Executive

6000

2500

8500

11 E008

Ajit

Support

Executive

4500

2500

7000

When we sort a table on the basis of any column, the records of similar value are
displayed together. These are called as Groups. In the above example, records are grouped
on the basis of department. The place where one group ends and another group starts, a group
break is said to have occurred.

3
Assignment No. – 8

Q.1.

What is sorting? Explain by giving a suitable example.

Q.2.

How data in a worksheet can be sorted according to a given column?

Q.3.

What is multilevel sorting? Explain by giving a suitable example.

4

Weitere ähnliche Inhalte

Was ist angesagt?

Conditional formatting - Excel
Conditional formatting - ExcelConditional formatting - Excel
Conditional formatting - ExcelYi Chiao Cheng
 
Excel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheetsExcel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheetsOffice365UK
 
Advanced Filter in Excel
Advanced Filter in ExcelAdvanced Filter in Excel
Advanced Filter in Exceldinesh takyar
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelP. SUNDARI ARUN
 
5 Number Summary
5 Number Summary5 Number Summary
5 Number Summaryhkreider
 
Conditional formatting
Conditional formattingConditional formatting
Conditional formattingum5ashm
 
Data validation - Excel
Data validation - ExcelData validation - Excel
Data validation - ExcelYi Chiao Cheng
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesBobby Jones
 
Lesson 10 - Sorting , Grouping and Filtering Cells
Lesson 10 - Sorting , Grouping and Filtering CellsLesson 10 - Sorting , Grouping and Filtering Cells
Lesson 10 - Sorting , Grouping and Filtering Cellsguevarra_2000
 
sorting and filtering data in excel
sorting and filtering data in excelsorting and filtering data in excel
sorting and filtering data in excelaroosa zaidi
 

Was ist angesagt? (20)

Conditional formatting - Excel
Conditional formatting - ExcelConditional formatting - Excel
Conditional formatting - Excel
 
Data Validation
Data ValidationData Validation
Data Validation
 
Excel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheetsExcel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheets
 
Introduction of Advance Excel
Introduction of Advance ExcelIntroduction of Advance Excel
Introduction of Advance Excel
 
Advanced Filter in Excel
Advanced Filter in ExcelAdvanced Filter in Excel
Advanced Filter in Excel
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
 
Unit-I.pdf
Unit-I.pdfUnit-I.pdf
Unit-I.pdf
 
5 Number Summary
5 Number Summary5 Number Summary
5 Number Summary
 
Conditional formatting
Conditional formattingConditional formatting
Conditional formatting
 
Data validation - Excel
Data validation - ExcelData validation - Excel
Data validation - Excel
 
How to Use VLOOKUP in Excel
How to Use VLOOKUP in ExcelHow to Use VLOOKUP in Excel
How to Use VLOOKUP in Excel
 
Ms access
Ms accessMs access
Ms access
 
Advance excel
Advance excelAdvance excel
Advance excel
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
Lesson 10 - Sorting , Grouping and Filtering Cells
Lesson 10 - Sorting , Grouping and Filtering CellsLesson 10 - Sorting , Grouping and Filtering Cells
Lesson 10 - Sorting , Grouping and Filtering Cells
 
sorting and filtering data in excel
sorting and filtering data in excelsorting and filtering data in excel
sorting and filtering data in excel
 
View & index in SQL
View & index in SQLView & index in SQL
View & index in SQL
 
Ppt on pivot table
Ppt on pivot tablePpt on pivot table
Ppt on pivot table
 
Charts and pivot tables
Charts and pivot tablesCharts and pivot tables
Charts and pivot tables
 

Andere mochten auch

Andere mochten auch (7)

Module 5 entering data in worksheet
Module 5 entering data in worksheetModule 5 entering data in worksheet
Module 5 entering data in worksheet
 
Stress
StressStress
Stress
 
Stress
StressStress
Stress
 
Ankit report
Ankit reportAnkit report
Ankit report
 
50 management techniques
50 management techniques50 management techniques
50 management techniques
 
Circulation management
Circulation managementCirculation management
Circulation management
 
Net Promoter Score w badaniach użyteczności
Net Promoter Score w badaniach użytecznościNet Promoter Score w badaniach użyteczności
Net Promoter Score w badaniach użyteczności
 

Ähnlich wie Module 8 sorting excel data

Activity-2a_Data-Preparation-in-Excel.pdf
Activity-2a_Data-Preparation-in-Excel.pdfActivity-2a_Data-Preparation-in-Excel.pdf
Activity-2a_Data-Preparation-in-Excel.pdfRaquelFelicianoArgel
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh pRajesh P
 
6 Excel Essentials for Digital Marketers
6 Excel Essentials for Digital Marketers6 Excel Essentials for Digital Marketers
6 Excel Essentials for Digital MarketersHappy Marketer
 
How to create pivot table in excel
How to create pivot table in excelHow to create pivot table in excel
How to create pivot table in excelAashirJamil
 
Excel Datamining Addin Advanced
Excel Datamining Addin AdvancedExcel Datamining Addin Advanced
Excel Datamining Addin Advancedexcel content
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdfNitish Nagar
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a SuperstarAlan Murray
 
IMPORTRANGE-1.pptx
IMPORTRANGE-1.pptxIMPORTRANGE-1.pptx
IMPORTRANGE-1.pptxKetanSehdev3
 
Focusing on specific data by using filterss
Focusing on specific data by using filterssFocusing on specific data by using filterss
Focusing on specific data by using filterssum5ashm
 
Workshop Presetation.pptx
Workshop Presetation.pptxWorkshop Presetation.pptx
Workshop Presetation.pptxJanineCanlas1
 
Excel database
Excel databaseExcel database
Excel databasegdcs
 
Cash flow using excel
Cash flow using excelCash flow using excel
Cash flow using excelMalika khalil
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3jayarellirs
 

Ähnlich wie Module 8 sorting excel data (20)

Activity-2a_Data-Preparation-in-Excel.pdf
Activity-2a_Data-Preparation-in-Excel.pdfActivity-2a_Data-Preparation-in-Excel.pdf
Activity-2a_Data-Preparation-in-Excel.pdf
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh p
 
Advanced excel unit 01
Advanced excel unit 01Advanced excel unit 01
Advanced excel unit 01
 
6 Excel Essentials for Digital Marketers
6 Excel Essentials for Digital Marketers6 Excel Essentials for Digital Marketers
6 Excel Essentials for Digital Marketers
 
How to create pivot table in excel
How to create pivot table in excelHow to create pivot table in excel
How to create pivot table in excel
 
Excel Datamining Addin Advanced
Excel Datamining Addin AdvancedExcel Datamining Addin Advanced
Excel Datamining Addin Advanced
 
Excel Datamining Addin Advanced
Excel Datamining Addin AdvancedExcel Datamining Addin Advanced
Excel Datamining Addin Advanced
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar
 
05 ms excel
05 ms excel05 ms excel
05 ms excel
 
ITB - UNIT 4.pdf
ITB - UNIT 4.pdfITB - UNIT 4.pdf
ITB - UNIT 4.pdf
 
IMPORTRANGE-1.pptx
IMPORTRANGE-1.pptxIMPORTRANGE-1.pptx
IMPORTRANGE-1.pptx
 
Focusing on specific data by using filterss
Focusing on specific data by using filterssFocusing on specific data by using filterss
Focusing on specific data by using filterss
 
Workshop Presetation.pptx
Workshop Presetation.pptxWorkshop Presetation.pptx
Workshop Presetation.pptx
 
Excel database
Excel databaseExcel database
Excel database
 
Cash flow using excel
Cash flow using excelCash flow using excel
Cash flow using excel
 
MS Excel Module 2012
MS Excel Module 2012MS Excel Module 2012
MS Excel Module 2012
 
06.sorting and filling
06.sorting and filling06.sorting and filling
06.sorting and filling
 
Dependent drop down list nta
Dependent drop down list ntaDependent drop down list nta
Dependent drop down list nta
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3
 

Mehr von Dr. Shalini Pandey (20)

Flip book on consumer awareness
Flip book on consumer awarenessFlip book on consumer awareness
Flip book on consumer awareness
 
Advertisment fo anaemia awareness camp
Advertisment fo anaemia awareness campAdvertisment fo anaemia awareness camp
Advertisment fo anaemia awareness camp
 
Advertisment practical file
Advertisment practical fileAdvertisment practical file
Advertisment practical file
 
Res525 shalini
Res525 shaliniRes525 shalini
Res525 shalini
 
Res525 origin of earth and earth atmosphere
Res525 origin of earth and earth atmosphereRes525 origin of earth and earth atmosphere
Res525 origin of earth and earth atmosphere
 
Data processing
Data processingData processing
Data processing
 
Introduction Advertising
Introduction AdvertisingIntroduction Advertising
Introduction Advertising
 
Climate smart agriculture 2
Climate smart agriculture 2Climate smart agriculture 2
Climate smart agriculture 2
 
Climate smart agriculture
Climate smart agricultureClimate smart agriculture
Climate smart agriculture
 
Farmers Right
Farmers RightFarmers Right
Farmers Right
 
Critical analysis of welfare schemes
Critical analysis of welfare schemesCritical analysis of welfare schemes
Critical analysis of welfare schemes
 
College of home science leaflet
College of home science leafletCollege of home science leaflet
College of home science leaflet
 
Health problems related to nutrition
Health problems related to nutritionHealth problems related to nutrition
Health problems related to nutrition
 
Farmers kit
Farmers kitFarmers kit
Farmers kit
 
Digital india program
Digital india programDigital india program
Digital india program
 
Folder
FolderFolder
Folder
 
Communication audit
Communication auditCommunication audit
Communication audit
 
A speech
A speechA speech
A speech
 
Hecm512 assignment on participatory communication
Hecm512 assignment on participatory communicationHecm512 assignment on participatory communication
Hecm512 assignment on participatory communication
 
Letter
LetterLetter
Letter
 

Module 8 sorting excel data

  • 1. Module No. - 8 Sorting the Data List: Excel provides the facility to sort the Data List on any column of the Data List. Sorting means rearranging the row in increasing or decreasing column value. When you sort the rows then rows having the same column-value, appear together. Table on the next page show a Data List that has been sorted on “Department” Column. Sorting order can either be ascending (increasing) or descending (decreasing) Excel sorting process can be broadly categorized into following categories. (a) Simple or Single level sorting (b) Complex or Multi level sorting Simple Sorting: In simple sorting, list is sorted only on single field/ column. To sort the list on Department, following steps are observed : (a) Select those records of the Data List that have to be sorted. If the complete list is to be sorted then place the cell pointer anywhere in the list, instead of selecting the complete list by dragging the mouse. (b) Select Data option from the bar menu, it will display a submenu. On choosing Sort... option from the submenu, Excel will display the following dialog box. (c) Clicks on down arrow button of Sort by drop down list box and choose Dept in the option because you want to sort the list on department. After selecting the sort field select sorting order, as ascending, by clicking on corresponding radio button. At last select OK button. Data List will rearrange itself to acquire following arrangement of records. A B C D E F G
  • 2. 1 2 3 4 5 6 7 8 9 10 11 Code E005 E010 E003 E002 E006 E007 E001 E004 E008 E009 Name Rahul Anil Ramesh Ajit Babita Subodh Anil Anil Ajit Ramesh Dept. Hardware Hardware Hardware Software Software Software Software Support Support Support Designation Manager Executive Executive Executive Executive Manager Executive Manager Executive Executive Salary Bonus Total 8000 2000 10000 4000 2000 6000 6000 2000 8000 5500 3000 8500 6000 3000 9000 10000 3000 13000 7000 3000 10000 9000 2500 11500 4500 2500 7000 6000 2500 8500 Since this list is sorted on department, hence all the records having same department name appear together and the order of sorting is ascending, therefore the order of the department name has been kept as Hardware, Software and then Support. Multi Level Sorting: Sometimes you want the sorting to be more systematic. Once the records have been sorted on one column, then you would like them to get further sorted on some other column within the group. For example, we would like to sort the Data List on department but within the department, we want to sort on the basis of designation in the descending order, so that within the same group, records having Manager designation appears before the records, having Executive designation. This type of sorting is called Multi level sorting. To perform this type of sorting, follow the following steps: (a) Select the Data List that is to be sorted. (b) Chose Sort option from Data submenu, so as to get Sort dialog box on the screen. (c) Select Dept and order as Ascending in Sort by list box and then select Designation, and Descending radio button in first Then by list box. Finally, select OK button. Following Data List will be provided, which is sorted on Department and within department, it is sorted on designation (descending order). A B C D 1 Code Name Dept. Designation 2 E005 Rahul Hardware Manager 8000 2000 10000 3 E010 Anil Hardware Executive 4000 2000 6000 4 E003 Ramesh Hardware Executive 6000 2000 8000 2 E Salary F Bonus G Total
  • 3. 5 E007 Subodh Software Manager 10000 3000 13000 6 E002 Ajit Software Executive 5500 3000 8500 7 E006 Babita Software Executive 6000 3000 9000 8 E001 Anil Software Executive 7000 3000 10000 9 E004 Anil Support Manager 9000 2500 11500 10 E008 Ajit Support Executive 4500 2500 7000 11 E009 Ramesh Support Executive 6000 2500 8500 We can resorted Data List further. For example, in the above case, sorting is to done so that for the same designation, higher salary records appear first (descending order). To introduce this step of sorting, select Salary in second Then by dialog box and keep the order of sorting as Descending. This selection will result into following Data List. A B C D E Salary F Bonus G 1 Code Name Dept. Designation Total 2 E005 Rahul Hardware Manager 8000 2000 10000 3 E010 Anil Hardware Executive 4000 2000 6000 4 E003 Ramesh Hardware Executive 6000 2000 8000 5 E007 Subodh Software Manager 10000 3000 13000 6 E006 Babita Software Executive 6000 3000 9000 7 E002 Ajit Software Executive 5500 3000 8500 8 E001 Anil Software Executive 7000 3000 10000 9 E004 Anil Support Manager 9000 2500 11500 10 E009 Ramesh Support Executive 6000 2500 8500 11 E008 Ajit Support Executive 4500 2500 7000 When we sort a table on the basis of any column, the records of similar value are displayed together. These are called as Groups. In the above example, records are grouped on the basis of department. The place where one group ends and another group starts, a group break is said to have occurred. 3
  • 4. Assignment No. – 8 Q.1. What is sorting? Explain by giving a suitable example. Q.2. How data in a worksheet can be sorted according to a given column? Q.3. What is multilevel sorting? Explain by giving a suitable example. 4