Sort and filter with ease
Sort and filter with ease
Cells C5 to G13 contain five columns: Departments, Categories, and Amounts for the months Oct, Nov, Dec. Step 1
1
Let's say you want theLet's
departments in alphabetical order. Select the Department column, go
say you want the departments in alphabetical order. Click in the Departmentto cell C5. Press CTRL+G, type
Department
C5, then press Enter.
Category
Now press ALT+H
Oct to enter
Nov the Home Dec
tab above the ribbon, then press S to enter the Sort & Filter options. Use the arrow keys to find the option to Sort A to Z, or pr
Sort December's amounts from
column, bigthen
and to small.
clickSelect
Homethe December
> Sort column
& Filter > Sortcell,
A go
to to
Z. G5, then select cells G5 through G13. Bakery
Press ALT+H to enterBreads
the Home tab $30,000
above the ribbon,
$15,000then press
$20,000
S for Sort & Filter options. Notice the options changed from Sort A to Z to Sort Largest to Smallest and so forth. Use the a
Now you'll filter the data so that only the Bakery rows appear. Go to cell G5, Dec. Press CTRL+A to select all of the cells, then Bakery
press ALT+H to enter
Desserts
the Home tab.
$25,000
Press S to
$80,000
enter the Sort
$120,000
& Filter options, then use the arrow keys to find the Filter option or press F.
2 Sort
Filter buttons appear December's
on the amounts
top row from cell C5from largest
to G5. Go to to
thesmallest. Clickcell,
Department anyC5,celland
in the Dec
press column, ARROW then
ALT+DOWN Deli
DOWN ARROW and Salads
SPACE BAR to$90,000
clear the Select
$35,000
All checkbox.
$25,000
Then, use the arrow keys to find Bakery and press Space Bar, then press Enter.
and then
EXTRA CREDIT: Try sorting click Home
alphabetically by>two
Sort & Filter
columns. > Sort
Here's Largest
how: to Smallest.
First sort Department alphabetically (refer to stepsDeliin cell A3 above). Then
Sandwiches
select the Home
$80,000
tab and$40,000
Sort & Filter options.
$20,000 Find Custom Sort and add a second level for Category. After you select OK, Department will be sorted, and within ea
Dive down for more detail: Go to A27. Or, to proceed to the next step, press CTRL+PAGE DOWN. Meat Beef $90,000 $110,000 $120,000
3 Now you'll filter the data so that only the Bakery rows appear. Press CTRL+A to Meat Chicken $75,000 $82,000 $2,000,000
select all of the cells, and then click Home > Sort & Filter > Filter. Produce Fruit $10,000 $30,000 $40,000
4 Filter buttons appear on the top row. On the Department cell, click the filter button Produce Veggies $30,000 $80,000 $30,000
and then click to clear the Select All checkbox. Then, click to select Bakery.
EXTRA CREDIT
When you're done with step 5, try sorting alphabetically by
5 Click OK and only the Bakery rows appear. Now clear the filter by clicking the filter two columns. Here's how: First sort Department alphabetically
button for Department and then click Clear filter... (that's step 1 on the left). Then click Home > Sort & Filter >
Custom Sort. Add a second level for Category. After you click
OK, Department will be sorted, and within each department, Step 2
Category rows will be sorted in alphabetical order as well.
Dive down for more detail Next step
Step 4-5
EXTRA CREDIT
Step 3
Sort by date, or by color even
There are many ways to sort in Excel. Here are just two more ways to sort:
Cells C31 through F31 contain data with four columns: Expense date, Employee, Food, and Hotel.
You want the Expense dates in order. So, select Expense date header, cell C31, then press ALT+DOWN ARROW and use the arrow keys to find Sort Oldest to Newest. Press Enter. The rows get sorted in ascending date order by the Expense date.
Someone filled three cells with yellow. You can sort the rows by that color. Go to cell F31, then press ALT+DOWN ARROWExpense and use date
the arrow Employee
keys to find the Food
Sort by Color
Hotel IMPORTANT
option. Press Right Arrow to select theDETAIL
highlight color "yellow" rgb color 255, 255, 0, then Press Enter. The highlighted cells are automati
Sort by date, or by color even
IMPORTANT DETAIL: You can't clear a sort order like you can a filter. So if you don't want your sort to stick, undo it by pressing CTRL+Z.
5/13/2023 Laura $45 $5,050 You can't clear a sort order like
you can a filter. So if you don't
Go to cell A43 for the next instruction. 5/16/2023 Jackie $21 $3,820
5/18/2023 Tricia $30 $3,085 want your sort to stick, undo it
There are many ways to sort in Excel. Here are just two more ways to sort, but this time you'll use by pressing CTRL+Z.
the right-click menu: 5/12/2023 Dave $25 $1,611
5/14/2023 Jeff $69 $528
1 You want the dates in order. So, right-click a date and then click 5/15/2023 Mark $62 $2,112
Sort > Sort Oldest to Newest. The rows get sorted in ascending date order by the
Expense date. Step 1 Step 2
2 Someone filled three cells with yellow. You can sort the rows by that color. Right-
click a yellow cell, and then click Sort > Put Selected Cell Color
on Top.
More ways to filter data
More ways to filter data
Cells C49 through F49 contain data with four columns: Expense date, Employee, Food, and Hotel.
Go to cell F49: Hotel. Press ALT+DOWN ARROW, then use the arrow keys to find Number Filters option. Press RIGHT ARROW to enter Number Filters list and use the arrow keys to find the Above Average option, then press Enter. Excel calculates the average amount of the Hotel column, and then shows only
Now add a second
Many filter.
peopleGotype
to cell E49: Food.
formulas Press
to find ALT+DOWN
amounts that ARROW, then
are above use the
average, orarrow keys
greater to find
than the Number Filters option. Press RIGHT ARROW to enter the Number Filters list. Use the arrow keys to find the Greater than... option, then type 25 and press Enter. Of the three rows that were filtered fo
a certain
Go to cell A60amount. But there's
for the next no need to type formulas when special filters are available.
instruction.
1 On the Hotel cell, click the filter button and then click Expense date Employee Food Hotel
Number Filters > Above Average. Excel calculates the average amount of the 5/18/2023 Tricia $30 $3,085
Hotel column, and then shows only rows with amounts greater than that average. 5/13/2023 Laura $45 $5,050
2 Now add a second filter. On the Food cell, click the filter button and then click
Number Filters > Greater than..., and then type 25. Click OK. Step 1 Step 2
Of the three rows that were filtered for above average, Excel shows two rows with
More information on the Food amounts greater than 25.
web
Sort data in a range or table
Filter data in a range or table
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
More information on the web
Sort data in a range or table
Filter data in a range or table
Back to top Next step