Expressing a number as an ordinal

=A1&IF(OR(VALUE(RIGHT(A1,2))={11,12,13}),”th”,IF(OR(VALUE(RIGHT(A1))={1,2,3}),
CHOOSE(RIGHT(A1),”st”,”nd”,”rd”),”th”))

Comments

Popular posts from this blog

Writing Systems Of The World

International Phonetic Alphabet

GRBL Feed Rate