Ordinal format

G

george ross

Any suggestions on how to apply a format that will give
ordinal numbers - ie 1st, 2nd, 3rd, 4th etc.
 
B

Bob Phillips

Hi George,

Here is one way

=A1&CHOOSE((A1<>{11,12,13})*MIN(4,MOD(A1,10))+1,"th","st","nd","rd","th")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Top