ROMAN function
Converts a number from 1 to 3999 into Roman numerals as text, in classic or simplified form.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
ROMAN(number, [form])| Argument | What it means | |
|---|---|---|
number | Required | A whole number from 0 to 3999 (decimals are truncated; 0 returns empty text). |
form | Optional | 0 or TRUE (default) classic; 1, 2, 3 progressively more concise; 4 or FALSE simplified. |
Returns: Text such as "MMXXVI".
How ROMAN works
ROMAN turns a number into Roman numerals: =ROMAN(2026) returns MMXXVI. It is used for chapter and appendix numbers, film and event years, clock faces, generations (Super Bowl LX style) and outline numbering. The result is text, so you cannot calculate with it; ARABIC converts it back.
The optional form argument chooses between the classic notation (form 0, the subtractive rules everyone learns) and increasingly compact variants. For 499, form 0 gives CDXCIX while form 4 gives the short ID. Numbers above 3999 or below 0 return #VALUE!.
Examples
1Year in Roman numerals
| A | B | C | |
|---|---|---|---|
| 1 | Event | Year | |
| 2 | Company founded | 2026 | MMXXVI |
Result: MMXXVI
2000 = MM, 20 = XX, 6 = VI.
2Lower-case appendix numbers
| A | B | |
|---|---|---|
| 1 | Appendix no. | |
| 2 | 4 | iv |
Result: iv
ROMAN always returns capitals; wrap it in LOWER for i, ii, iii, iv… style numbering.
3Classic versus simplified form
| A | |
|---|---|
| 1 | CDXCIX / ID |
Result: CDXCIX / ID
Form 0 uses strict subtractive pairs; form 4 allows the shorter ID (1 before 500).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | Number is negative or greater than 3999. | Roman numerals in Excel only cover 1–3999. |
Tips
- Use form 0 for anything formal; the concise forms are not universally recognised.
Google Sheets
ROMAN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ROMAN in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | ROMERTAL |
| Dutch | ROMEINS |
| French | ROMAIN |
| German | RÖMISCH |
| Hungarian | RÓMAI |
| Italian | ROMANO |
| Norwegian (Bokmål) | ROMERTALL |
| Polish | RZYMSKIE |
| Portuguese (Brazil) | ROMANO |
| Portuguese (Portugal) | ROMANO |
| Russian | РИМСКОЕ |
| Spanish | NUMERO.ROMANO |
| Swedish | ROMERSK |
| Turkish | ROMEN |