Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Use Roman Numerals in Excel

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To use Roman numerals in Excel, you convert numbers with the ROMAN function, for example =ROMAN(2024) returns MMXXIV. You can also type Roman numerals as text and convert them back to Arabic numbers with the ARABIC function, for example =ARABIC("MMXXIV") returns 2024. Both functions work in Excel for Microsoft 365, Excel 2019 and later, and Excel for the web; older versions may not include ARABIC.

What You'll Need

  • Excel for Microsoft 365, Excel 2019 or later, or Excel for the web. ARABIC is not available in Excel 2016 or earlier.
  • A worksheet with a column of numbers you want to display as Roman numerals, or a column of Roman numeral text you want to convert back.
  • Basic familiarity with typing formulas and filling them down a column.

Step-by-Step

  1. Enter your source numbers. In a blank worksheet, put the numbers you want to convert in column A, starting at A2. For example, A2 = 1, A3 = 4, A4 = 9, A5 = 40, A6 = 1999, A7 = 2024. Keep them as whole numbers between 1 and 3999; ROMAN returns an error outside that range.
  2. Add a header for the Roman column. In B1, type Roman so you can tell the converted values apart from the originals.
  3. Write the ROMAN formula. Click B2 and type =ROMAN(A2), then press Enter. B2 now shows I. The formula reads the number in A2 and returns its Roman numeral as text.
  4. Fill the formula down. Select B2, grab the small square at the bottom-right corner of the cell (the fill handle), and drag down to B7. Alternatively, double-click the fill handle and Excel fills the column automatically as far as the adjacent data goes. You should see IV for 4, IX for 9, XL for 40, MCMXCIX for 1999 and MMXXIV for 2024.
  5. Choose a simplification level if you need one. ROMAN accepts an optional second argument that controls how simplified the result is. =ROMAN(499,0) returns the classic CDXCIX; =ROMAN(499,1) returns LDVLIV; higher levels simplify further, and =ROMAN(499,4) returns ID. Level 0 is the default and is what most people want for dates, outlines and page numbers. Levels 1 to 4 produce shorter but less conventional forms, so use them only when you specifically need compact output.
  6. Convert Roman text back to numbers. If you have Roman numerals stored as text, such as MMXXIV in C2, type =ARABIC(C2) in D2 and press Enter. D2 returns 2024. ARABIC accepts upper- or lowercase text and returns 0 for an empty string. Fill the formula down the same way you did for ROMAN.
  7. Format the results if needed. ROMAN and ARABIC return text and numbers respectively, so the Roman column is left-aligned by default. If you want it centered for a table, select the column and use the alignment buttons on the Home tab. Do not apply a number format to the Roman column; number formats do not turn Arabic digits into Roman numerals, only the ROMAN function does.
  8. Copy values if you need to remove the formulas. Select the Roman column, press Ctrl+C, then right-click and choose Paste Special > Values. This replaces the formulas with plain text so the column no longer depends on column A. The same Paste Special > Values step works for the ARABIC results.

Common Mistakes

  • Using a number format instead of ROMAN. Excel's Format Cells dialog has no Roman numeral option. Typing 4 and applying a custom format will not produce IV; you need the ROMAN function.
  • Passing text to ROMAN. =ROMAN("2024") may work because Excel coerces numeric text, but =ROMAN("MMXXIV") returns #VALUE!. ROMAN expects a number, not a Roman numeral string. Use ARABIC for the reverse direction.
  • Going outside 1 to 3999. ROMAN returns #VALUE! for 0, negative numbers and anything 4000 or above. Standard Roman numerals do not have a widely agreed notation above 3999, so split large values into parts or store them as plain numbers.
  • Forgetting the second argument changes the result. If a colleague's formula returns ID instead of CDXCIX, check whether a simplification level was added as the second argument.
  • Expecting ARABIC to validate input. ARABIC converts what it can and can return unexpected results for malformed strings. It is a converter, not a strict validator.
  • Typing Roman numerals with the letter O instead of a zero. Roman numerals use I, V, X, L, C, D and M only. A capital O is not a Roman numeral and will cause ARABIC to return #VALUE!.

Tips

  • Use ROMAN for page numbers, outline headings, clock faces, copyright years and numbered lists where a classic look matters.
  • Combine ROMAN with TEXT and concatenation to build labels, for example ="Chapter "&ROMAN(4) gives Chapter IV.
  • If you need lowercase Roman numerals, wrap the result in LOWER: =LOWER(ROMAN(2024)) returns mmxxiv.
  • Keep the original Arabic numbers in their own column. Converting in place with Paste Special > Values destroys the source data and makes it harder to sort or calculate later.
  • For a quick check, remember the building blocks: I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, M = 1000.

Troubleshooting

  • #NAME? error. Excel does not recognise the function name. Check for a typo such as ROMAN2 or ARABIC with a stray space. If the file is an old .xls workbook or an older Excel version, ARABIC may not exist; open the file in a current version or Excel for the web.
  • #VALUE! from ROMAN. The input is text that cannot be read as a number, or it is outside 1 to 3999. Check the source cell's contents and range.
  • #VALUE! from ARABIC. The cell contains characters that are not valid Roman numerals, such as O, or extra spaces. Trim the text and correct the letters.
  • Formula shows as text. The cell may be formatted as Text before you typed the formula. Change the format to General, then re-enter the formula by pressing F2 and Enter.
  • Results do not update. Calculation may be set to Manual. Go to Formulas > Calculation Options and choose Automatic.
  • Fill handle does not copy correctly. Make sure relative references are used (A2, not $A$2) so the formula adjusts as it fills down.

Frequently Asked Questions

Can Excel display numbers as Roman numerals without a formula?

No. Excel has no Roman numeral number format. You must use the ROMAN function or type the numerals as text.

What is the highest number ROMAN can convert?

3999, which returns MMMCMXCIX. Values of 4000 and above return #VALUE!.

Does ARABIC work in Excel 2016?

ARABIC was introduced alongside other new functions in later versions and is not available in Excel 2016. Use Excel 2019, Microsoft 365 or Excel for the web.

Why does ROMAN return a shorter result than I expected?

A simplification level was probably supplied as the second argument. Remove it or set it to 0 for the classic form.

Can I convert a whole column at once?

Yes. Enter the formula in the first cell and fill it down, or use Paste Special > Values afterwards to keep only the results.

Do ROMAN and ARABIC work in Excel for the web and Google Sheets?

Both work in Excel for the web. Google Sheets also supports ROMAN and ARABIC with the same basic syntax, so formulas usually carry over.