The ROMAN function converts an Arabic numeral (1 to 3999) into a Roman numeral as text. It is useful for formatting, labelling, and educational purposes where Roman numerals are needed.
=ROMAN(number, [form])What does ROMAN do?
The ROMAN function in Excel converts a standard number (1 through 3999) into a Roman numeral, returned as text. For example, =ROMAN(2024) returns MMXXIV. It is part of the Math & Trigonometry category and is available in all modern versions of Excel.
Roman numerals still appear in outlines, copyright dates, clock faces, chapter numbers, and formal documents. Instead of typing them manually, you can generate them automatically from numbers in your spreadsheet, reducing errors and saving time.
Imagine you are preparing a report with section headings that use Roman numerals. You have the section numbers in a column and need the Roman equivalents. With ROMAN, you can create a formula that converts each number instantly, ensuring consistency across the document.
When to use ROMAN
- Formatting chapter or section numbers in reports and books.
- Displaying copyright years or event dates in Roman numerals.
- Creating labels for outlines or legal documents.
- Teaching history or maths with Roman numeral conversions.
- Generating clock face numbers or decorative elements.
- Converting numbers for puzzles or games.
ROMAN syntax
=ROMAN(number, [form])| Argument | Required? | What to enter |
|---|---|---|
number | Required | The Arabic numeral you want to convert. Must be between 1 and 3999. Can be a number, a cell reference, or a formula that returns a number. Example: 2024 or A2. |
form | Optional | A number specifying the type of Roman numeral to return. 0 (default) is classic, 1 is more concise, 2 is even more concise, 3 is very concise, 4 is simplified. TRUE returns classic, FALSE returns simplified. Example: 1. |
What it returns: A text string representing the Roman numeral of the given number. For example, =ROMAN(499) returns CDXCIX.
ROMAN examples
1 Basic conversion of a single number
This example shows the simplest use of ROMAN: converting a number directly. The formula =ROMAN(2024) takes the number 2024 and returns the Roman numeral MMXXIV. No cell references are needed, making it ideal for quick conversions.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Number | Roman | ||
| 2 | 2024 | MMXXIV | ||
| 3 |
2 Convert numbers from a list
Here we have a list of numbers in column A and want their Roman numerals in column B. The formula =ROMAN(A2) in cell B2 converts the number in A2. Copying it down fills the column. This is useful for converting many numbers at once.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Number | Roman | ||
| 2 | 1 | I | ||
| 3 | 5 | |||
| 4 | 10 | |||
| 5 | 50 | |||
| 6 | 100 | |||
| 7 | 500 | |||
| 8 | 1000 | |||
| 9 |
3 Convert a year to Roman numerals for a report
Suppose you have a list of years and need them in Roman numerals for a formal report. The formula =ROMAN(A2) converts the year in A2. This ensures consistency and saves manual typing.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Year | Roman Year | ||
| 2 | 2023 | MMXXIII | ||
| 3 | 1999 | |||
| 4 | 2024 | |||
| 5 | 2025 | |||
| 6 | 2026 | |||
| 7 | 2027 | |||
| 8 | 2028 | |||
| 9 |
4 Create Roman numeral labels for chapters
In a document, you might have chapter numbers and need Roman numerals for headings. The formula =ROMAN(A2) in B2 converts the chapter number. Dragging it down fills all chapters. This is a common business use for reports and books.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Chapter | Roman Chapter | ||
| 2 | 1 | I | ||
| 3 | 2 | |||
| 4 | 3 | |||
| 5 | 4 | |||
| 6 | 5 | |||
| 7 | 6 | |||
| 8 | 7 | |||
| 9 |
Common ROMAN errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | The number argument is not a valid number or is outside the range 1–3999. | Ensure the number is between 1 and 3999 and is numeric. Use a function like ISNUMBER to check. |
| #NUM! | The number is negative or zero, or the form argument is invalid (not between 0 and 4). | Use a positive number between 1 and 3999. For form, use 0, 1, 2, 3, or 4. |
| #NAME? | The function name is misspelled, e.g., ROMAN typed as ROMAN is correct, but ROMAN with a typo like ROMMAN. | Check the spelling: it should be ROMAN. |
| #REF! | A cell reference in the formula is invalid, e.g., referring to a deleted cell. | Update the formula to refer to a valid cell. |
Tips for using ROMAN
- ROMAN only works for numbers 1 to 3999; for larger numbers, consider custom formatting or other methods.
- The result is text, so you cannot perform arithmetic on it directly.
- Use the
formargument to get shorter representations when space is tight. - Combine ROMAN with other functions like
TEXTorCONCATto create labels. - If you need to convert Roman numerals back to numbers, use the ARABIC function.
Frequently asked questions
What is the maximum number ROMAN can convert?
ROMAN can convert numbers from 1 to 3999. For numbers outside this range, it returns an error.
Can I convert Roman numerals back to numbers?
Yes, use the ARABIC function, which is the inverse of ROMAN.
Why does ROMAN return text instead of a number?
Roman numerals are not standard numbers, so they are returned as text strings. This means you cannot use them in calculations directly.
What does the form argument do?
The form argument controls the style of the Roman numeral. 0 is classic, 1–4 are increasingly concise. For example, 499 can be CDXCIX (classic) or ID (concise).
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. ROMAN reference