Does any one know how to create a number format in Excel for Ordianl numbers. For example: 1st, 2nd, 3rd....25th. So that if i have a list of numbers I can change them into an ordinal format?
Excel doesn’t provide an ordinal formatting style. To overcome this limitation, either of the following formulae can be used to express a value in A1 in an ordinal format:
Similarly, the following formula expresses a date in A1 in the form of "Saturday, 1st January 2000":
=TEXT(A1,"dddd, ")&DAY(A1)&CHOOSE((DAY(A1)<>{11,12,13})*MIN(4,MOD(DAY(A1),10))+1,"th","st","nd","rd","th")&TEXT(A1," MMMM ")&YEAR(A1)
Sorry Macropod, but I don't see how your (A1<>{11,12,13}) can work. This should be replaced with AND(A1<>11,A1<>12,A1<>13) to get the formula to behave properly for 12th and 13th results.
The last 2 formulae would then read:
=A1&CHOOSE(AND(A1<>11,A1<>12,A1<>13)*MIN(4,MOD(A1,10))+1,"th","st","nd","rd","th")
While there isn't a format that will accomodate you, you *can* simply type in "1st" in A1 then auto-fill down. Excel understands this and will automatically put "2nd," "3rd," "4th" etc. in subsequent rows. the only problem will be if you have to add two of these together, since they are text strings.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.