View Single Post
  #16   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] chiacheng.teg@gmail.com is offline
external usenet poster
 
Posts: 1
Default formatting numbers as 1st 2nd

On Friday, February 13, 2009 at 5:10:01 AM UTC+8, Bob Arnett wrote:
Is there any way to display numbers in the mode of:
1st
2nd
3rd
4th
etc. ?



Or a primitive but simple solution that works:

=day&vlookup(day,vlookup_table,2,false)

vlookup_table
1 st
2 nd
3 rd
4 th
5 th
6 th
7 th
8 th
9 th
10 th
11 st
12 nd
13 rd
14 th
15 th
16 th
17 th
18 th
19 th
20 th
21 st
22 nd
23 rd
24 th
25 th
26 th
27 th
28 th
29 th
30 th
31 st