DEV Community

Andrews
Andrews

Posted on • Originally published at geekexcel.com on

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

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

Enter fullscreen mode Exit fullscreen mode

Syntax Explanation

  • RANK – The RANK function 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.

Sample data

  • Then, to dynamically sort data that contains only numeric values, you have to use the below-given formula in formula bar.
=[RANK](https://geekexcel.com/how-to-use-excel-rank-function-in-office-365-with-examples/)(C5,sales)+COUNTIF($C$5:C5,C5)-1

Enter fullscreen mode Exit fullscreen mode

Use the Formula

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

Result in Cell D5

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

Copy values to other columns

Check this too:

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!! **If you want to learn more helpful formulas, check out Excel Formulas *!! **

Keep Reading:

Top comments (0)