Got Excel skills? Let's see.
This one's a classic
Here are the usual rules.
Assume that cell A1 contains a positive integer value less than 4,000. Create a single formula to convert the value in A1 to Roman numerals. More specifically, the challenge is to replicate Excel's =ROMAN(A1, 0) function. For example
A1
4 --> IV
19 --> XIX
49 --> XLIX
501 --> DI
1999 --> MCMXCIX
2015 --> MMXV
This one's a classic
Here are the usual rules.
- 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.
- Conditional formatting is not allowed.
Assume that cell A1 contains a positive integer value less than 4,000. Create a single formula to convert the value in A1 to Roman numerals. More specifically, the challenge is to replicate Excel's =ROMAN(A1, 0) function. For example
A1
4 --> IV
19 --> XIX
49 --> XLIX
501 --> DI
1999 --> MCMXCIX
2015 --> MMXV