How to sort numbers in excel
Tutor 5 (37 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Sorting in Excel is the process of arranging numeric values in ascending or descending order.
How to sort numbers in Excel
To sort numbers in Excel, follow these steps:
-
Select the cells that contain the numbers.
-
Go to the Home tab.
-
Select Sort & Filter in the Editing group.
-
Choose Sort Smallest to Largest for ascending order.
-
Choose Sort Largest to Smallest for descending order.
Windows and Mac use the same commands for basic number sorting.
How to sort numbers with headers
To sort numbers in a column with a header row, follow these steps:
-
Click any cell within the column that contains the numbers.
-
Go to the Data tab.
-
Choose Sort Smallest to Largest or Sort Largest to Smallest.
-
Confirm that My data has headers in the dialog box.
The setting prevents the header from mixing with the numeric values.
How to sort multiple columns that contain numbers
To sort several numeric columns based on one column’s order, follow these steps:
-
Select the entire dataset that contains the numeric columns.
-
Go to the Data tab.
-
Select Sort.
-
Choose the primary column under Sort by.
-
Choose Smallest to Largest or Largest to Smallest.
-
Add more levels with Add Level when sorting additional numeric columns.
Excel sorts the dataset row-by-row to keep related values together.
How to sort numbers stored as text
Excel sorts text values differently from numeric values. Text-based numbers require conversion.
Steps to convert text numbers to real numbers
-
Select the cells.
-
Choose the warning icon next to the selection.
-
Select Convert to Number.
Another method uses Text to Columns:
-
Select the cells.
-
Go to Data.
-
Select Text to Columns.
-
Choose Finish.
Sorting behaves normally after the conversion.
How to sort numbers with blanks
Excel places blank cells at the bottom of ascending and descending sorts.
To move blanks intentionally:
-
Select the dataset.
-
Open Sort in the Data tab.
-
Add a level.
-
Choose the column with blanks.
-
Select Cell Color.
-
Assign an on-top or on-bottom position.
Excel places blank cells based on the custom sort order.
How to sort numbers using Sort Options
The Sort Options dialog adjusts how Excel reads numeric characters.
Steps to customize sorting
-
Open Sort from the Data tab.
-
Select Options.
-
Choose Sort top to bottom for vertical data.
-
Choose Sort left to right for horizontal numeric lists.
Excel sorts numbers in rows when the horizontal option is active.
How to sort numbers in a table
Excel tables contain built-in sorting controls.
Steps
-
Click any cell inside the table.
-
Use the drop-down arrow in the numeric column header.
-
Choose Sort Smallest to Largest or Sort Largest to Smallest.
Excel dynamically adjusts the sort when rows are added or removed.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Excel chart axis labels not showing
Answers · 1
Excel chart title not showing
Answers · 1
Excel chart labels not showing
Answers · 1
Excel chart not showing data
Answers · 1