- Sort data by one or several columns
- Use text, number and colour filters
- Create an Excel Table and know its advantages
Leyla's sales log has 300 rows: date, branch, product, amount. Her manager asks: “Which sales were the biggest? Show me only the Ganja branch's sales in March.” To answer in seconds you need two tools: sorting and filtering. An Excel Table makes both even easier.
Sorting
For a simple sort, click one cell in the column you need and choose Data › Sort & Filter › Sort A to Z or Sort Z to A. For numbers this means smallest to largest and back; for dates, oldest to newest and back. Excel moves whole rows together, so each row's information stays together.
- 1Open the Sort dialog
Click a cell inside the data and choose
Data › Sort & Filter › Sort. Check thatMy data has headersis ticked. - 2First level
In
Sort by, choose theBranchcolumn and setOrdertoA to Z. - 3Add a second level
Click
Add Level, pickAmountinThen bywithLargest to Smallest, then clickOK. Each branch's sales are now listed from largest to smallest.
Filtering
Data › Sort & Filter › Filter (Ctrl+Shift+L) adds drop-down arrows next to the headers. Click an arrow and tick only the values you need, e.g. Ganja. Text columns offer Text Filters › Contains…, number columns Number Filters › Greater Than…, Top 10… and Above Average, and coloured cells Filter by Color. Rows that don't match are not deleted, only hidden: their row numbers turn blue and the header button shows a funnel icon. To bring everything back, choose Data › Sort & Filter › Clear.
Excel Tables (`Ctrl+T`)
- 1Create the table
Click a cell inside the data and press
Ctrl+T(orInsert › Tables › Table). Check the range, tickMy table has headersand clickOK. - 2Give it a name and a style
On the new
Table Designtab, type a name such asSalesinTable Nameand pick colours from theTable Stylesgallery. - 3Turn on the Total Row
Tick
Table Design › Table Style Options › Total Row. A total row appears under the table; each of its cells has a list withSum,Average,Countand more.
- Filter buttons appear in the headers automatically, and rows get alternating colours (banded rows).
- A new row typed directly below the table joins it, together with the formatting and formulas.
- A formula typed in one cell fills the whole column by itself (a calculated column), e.g.
=[@Price]*[@Qty]. - Formulas use names instead of addresses:
=SUM(Sales[Amount])— as the table grows, the formula grows with it. - When you scroll down, the table's headers replace the column letters at the top.
Ctrl+T is missing because it opens a new tab in the browser — try it in Excel.Key points
- To sort, select one cell in the column; if you select a whole column, choose
Expand the selection. - In
Data › Sort,Add Levelbuilds a multi-level sort. - A filter (
Ctrl+Shift+L) hides rows rather than deleting them; SUBTOTAL totals the visible ones. - A table made with
Ctrl+Tgrows automatically, fills formulas down by itself and offers a Total Row.
Check yourself
10 questions. Every correct answer earns XP.