You've got Excel skills? Let's see.
These challenges are working out really well, so here goes for number three. The rules are even simpler than before:
Assume that cell A1 contains a positive integer. Create a formula in B1 to return the English ordinal indicator associated with the value in A1.
For example
A1 --> B1
1 --> "st"
2 --> "nd"
3 --> "rd"
4 --> "th"
11 --> "th"
21 --> "st"
I suspect that there are quite a few different ways of achieving this - so it'll be interesting to see what we can come up with
These challenges are working out really well, so here goes for number three. The rules are even simpler than before:
- Create a single Excel formula to solve the stated problem.
- The shortest formula wins (when calculating the length of the formula there's no need to include the leading "=", or the curly braces that Excel uses to represent array formulae).
- The formula's number format can be set to whatever you want.
Assume that cell A1 contains a positive integer. Create a formula in B1 to return the English ordinal indicator associated with the value in A1.
For example
A1 --> B1
1 --> "st"
2 --> "nd"
3 --> "rd"
4 --> "th"
11 --> "th"
21 --> "st"
I suspect that there are quite a few different ways of achieving this - so it'll be interesting to see what we can come up with