Excel Formulas to use Basic numeric sort formula in Excel!!
Tags: excelformula, excelformulas
Published: 2021-11-01 11:08:21

---
title: Excel Formulas to use Basic numeric sort formula in Excel!!
published: true
date: 2021-10-30 10:42:20 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-use-basic-numeric-sort-formula-in-excel/
---

Sometimes you need to use basic numeric sort formula. If you want to learn how to use formulas, you are in the right place. Here we will discuss simple **formulas to use basic numeric sort formula in Excel**.  Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

## Generic Formula

- You need to use the below-given formula to get the basic numeric sort formula.

```
=[RANK](https://geekexcel.com/how-to-use-excel-rank-function-in-office-365-with-examples/)(A1,values)+COUNTIF(exp_rng,A1)-1

```

## Syntax Explanation

- **RANK** – The **[RANK function](https://geekexcel.com/how-to-use-excel-rank-function-in-office-365-with-examples/)** returns the rank of a number from a list of numerical values.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Plus operator (+)** – This symbol is used to add the values.
- **Minus Operator (-)** – This symbol will help to subtract any two values.
- **COUNTIF**  – In Excel, this function will help to count the number of cells that meet a single condition or criteria.

## Practical Example

- Firstly, you need to **create a sample data** in the Excel.

![](https://geekexcel.com/wp-content/uploads/2021/10/Sample-data-76.png)<figcaption>Sample data</figcaption>

- Then, to dynamically sort data that contains only numeric values, you have to use the below-given formula in **[formula bar](https://geekexcel.com/how-to-use-formula-bar-for-various-purpose-in-excel-365/)**.

```
=[RANK](https://geekexcel.com/how-to-use-excel-rank-function-in-office-365-with-examples/)(C5,sales)+COUNTIF($C$5:C5,C5)-1

```

![](https://geekexcel.com/wp-content/uploads/2021/10/Use-the-Formula-29.png)<figcaption>Use the Formula</figcaption>

- Now, you need to **Hit the Enter key** to get the result as shown below in the **cell D5**.

![](https://geekexcel.com/wp-content/uploads/2021/10/Result-in-cell-D5-1.png)<figcaption>Result in Cell D5</figcaption>

- Finally, you have to **press Ctrl+D key** to get the results in all other columns.

![](https://geekexcel.com/wp-content/uploads/2021/10/Copy-values-to-other-columns.png)<figcaption>Copy values to other columns</figcaption>

**Check this too:**

- [Excel Formulas for Basic error trapping in Excel Office 365!!](https://geekexcel.com/excel-formulas-for-basic-error-trapping-in-excel-office-365/)
- [Formulas to use Basic attendance tracking formula in Excel!!](https://geekexcel.com/excel-formulas-to-use-basic-attendance-tracking-formula-in-excel/)

## Wind-Up

From this chapter, you can get some clarification on **formulas to use basic numeric sort formula in Excel**. Leave a **comment** or **reply** below to let me know what you think!

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

**Keep Reading:**

- **[Excel Formulas to Calculate the Average of Last N Numeric Values!!!](https://geekexcel.com/excel-formulas-to-calculate-the-last-n-numeric-values/)**
- **[How to Sort a Table in Excel Office 365 ~ Complete Tutorial!!](https://geekexcel.com/sort-a-table-excel/)**
- **[Excel Formulas to Count Unique Numeric Values with Criteria!!](https://geekexcel.com/excel-formulas-to-count-unique-numeric-values-with-criteria/)**
- **[How to Remove Numeric Characters From a Cell in Excel? ~ Easy Tutorial!!](https://geekexcel.com/remove-numeric-characters-from-a-cell/)**
- **[Excel Formulas for Counting the Unique Numeric Values in a Range!!](https://geekexcel.com/excel-formulas-for-counting-the-unique-numeric-values-in-a-range/)**