Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Add Outline to Data in Excel
  • How to do a t-Test in Excel?
  • Everything about Charts in Excel

References

  • How to get first column number in range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Lookup entire row in Excel
  • How to get last row in numeric data in Excel
  • Count unique text values with criteria

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Excel Data validation whole percentage only
  • Excel Data validation exists in list

Excel Rank with ordinal suffix Example

by

This tutorials shows how to Rank with ordinal suffix in Excel.

To add an ordinal suffix to a number (i.e. 1st, 2nd, 3rd, etc.) you can use a formula based on the CHOOSE function to assign the suffix.

Formula

=CHOOSE(number,"st","nd","rd","th","th","th","th","th","th","th")

Explanation

In the example shown, the formula in C5 is:

=CHOOSE(B5,"st","nd","rd","th","th","th","th","th","th","th")

How this formula works

Ordinal numbers represent position or rank in a sequential order. They are normally written using a number + letter suffix:  1st, 2nd, 3rd, etc.

To get an ordinal suffix for a small set of numbers, you can use the CHOOSE function like this:

=CHOOSE(B5,"st","nd","rd","th","th","th","th","th","th","th")

Here CHOOSE simply picks up a number from column B and uses that number as an index to retrieve the right suffix.

A universal formula

With a larger range of numbers it’s not practical to keep adding values to CHOOSE. In that case, you can switch to a more complicated formula that uses the MOD function:

=IF(AND(MOD(ABS(A1),100)>10,MOD(ABS(A1),100)<14),"th",
CHOOSE(MOD(ABS(A1),10)+1,"th","st","nd","rd","th","th","th","th","th","th"))

This formula first uses MOD with AND to “trap” the case of numbers like 11, 12, 13, 111, 112, 113, etc that have a non-standard suffix with is always “th”. All other numbers use the 10 suffix values inside CHOOSE.

The ABS function is used to handle negative numbers as well as positive numbers.

Concatenate suffix to number

You can concatenate (join) the suffix directly using either formula above. For example to add an ordinal suffix to a number 1-10 in A1:

=A1&CHOOSE(A1,"st","nd","rd","th","th","th","th","th","th","th")

But be aware that doing so will change the number into a text value.

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel XOR Function
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel TRUE Function
  • XOR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Basic timesheet formula with breaks in Excel
  • Get first day of month in Excel
  • Get days between dates ignoring years in Excel
  • Calculate years between dates in Excel
  • Get work hours between dates and times in Excel

Grouping

  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel

General

  • Lock Cells in a Worksheet Excel
  • Automatically fill series of cells in Excel using AutoFill
  • Zoom Worksheet in Excel
  • How to get random value from list or table in Excel
  • AutoRecover file that was never saved in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning