Excel Sort Column by Number

If you just need to excel sort column by number and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: select one cell in the table, choose Data ▸ Sort, tick My data has headers, pick the column and order, and expand the selection so whole rows move together.

ƒxList SorterLive
Sorted entries
4
=SORT(A2:A5,1,1)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Sorting reorders rows by one or more columns. The key safety rule is that whole records must move together; sorting a single column by itself can detach names, dates and amounts from one another. Dates sort correctly only when Excel recognizes them as real dates, not text. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “excel sort column by number”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected columns change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A table has Customer, Date and Amount. Click inside it, choose Data ▸ Sort, tick My data has headers, sort by Date from Oldest to Newest, then add a level for Amount largest to smallest. Each row stays intact while the table order changes. Sorting is simple but high-risk: done correctly it reveals order and priority; done on the wrong range it corrupts the dataset. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. The short version of “excel sort column by number”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Sorting only one column and corrupting row relationships.
  • Sorting dates stored as text, which can order alphabetically instead of chronologically.
  • Leaving blank rows that split the detected table range.
  • Forgetting to include hidden rows if they should be sorted too.

Frequently asked questions

How do I sort by date?

Make sure the values are real dates, then Data ▸ Sort by that date column.

How do I sort columns left to right?

Use Sort Options and choose Sort left to right.

Why did my rows get mixed up?

Only one column was sorted. Undo and sort the whole table range.

Other ways people ask this

On the way here you may have searched this as “how to sort a column of numbers in excel”, “how to sort excel columns by number” and “how to sort excel column by number” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to sort a column of numbers in excel”, “how to sort excel columns by number”, “how to sort excel column by number” all point at the one operation explained on this page, which is why they all lead here.