Math & trig function

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])
ArgumentWhat it means
numberRequiredA whole number from 0 to 3999 (decimals are truncated; 0 returns empty text).
formOptional0 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

C2fx=ROMAN(B2)
ABC
1EventYear
2Company founded2026MMXXVI

Result: MMXXVI

2000 = MM, 20 = XX, 6 = VI.

2Lower-case appendix numbers

B2fx=LOWER(ROMAN(A2))
AB
1Appendix no.
24iv

Result: iv

ROMAN always returns capitals; wrap it in LOWER for i, ii, iii, iv… style numbering.

3Classic versus simplified form

A1fx=ROMAN(499, 0)&" / "&ROMAN(499, 4)
A
1CDXCIX / ID

Result: CDXCIX / ID

Form 0 uses strict subtractive pairs; form 4 allows the shorter ID (1 before 500).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishROMERTAL
DutchROMEINS
FrenchROMAIN
GermanRÖMISCH
HungarianRÓMAI
ItalianROMANO
Norwegian (Bokmål)ROMERTALL
PolishRZYMSKIE
Portuguese (Brazil)ROMANO
Portuguese (Portugal)ROMANO
RussianРИМСКОЕ
SpanishNUMERO.ROMANO
SwedishROMERSK
TurkishROMEN