Math & trig function

ARABIC function

Converts a Roman numeral (text) into an ordinary number.

Available in Excel 2013 and later, Microsoft 365, Excel for the web, Excel for Mac 2016 and later

Excel 2013 and laterWorks in Google Sheets

Syntax

ARABIC(text)
ArgumentWhat it means
textRequiredA Roman numeral in quotes or a cell reference; upper or lower case. Up to 255 characters.

Returns: The numeric value of the Roman numeral.

How ARABIC works

ARABIC is the reverse of ROMAN: =ARABIC("MCMXCIV") returns 1994. Use it to sort or calculate with Roman numerals that come from documents, such as chapter numbers, monarchs' names, copyright years in film credits or legacy part numbers. Case does not matter and leading or trailing spaces are ignored.

Excel is lenient: non-standard numerals such as IIII or MIM are still converted, and a minus sign in front returns a negative number. An empty string returns 0, and characters that are not Roman numerals return #VALUE!.

Examples

1Read a copyright year from film credits

C2fx=ARABIC(B2)
ABC
1FilmCredits year
2DocumentaryMMXXVI2026

Result: 2026

MM (2000) + XX (20) + VI (6) = 2026.

2Sort chapters correctly

B2fx=SORTBY(A2:A4, ARABIC(A2:A4))
AB
1Chapter
2XV
3IXIX
4VX

A plain A–Z sort gives IX, V, X, which is wrong. Sorting by the ARABIC values 10, 9, 5 puts the chapters in true order (SORTBY needs Microsoft 365 or Excel 2021+).

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

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!The text contains characters that are not Roman numerals.Clean the text with TRIM/SUBSTITUTE first.

Tips

  • Validate a numeral by round-tripping: =ROMAN(ARABIC(A2))=UPPER(A2) is FALSE for non-standard forms like IIII.

Google Sheets

ARABIC also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

ARABIC 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
DanishARABISK
DutchARABISCH
FinnishARABIA
FrenchCHIFFRE.ARABE
GermanARABISCH
HungarianARAB
ItalianARABO
Norwegian (Bokmål)ARABISK
PolishARABSKIE
Portuguese (Brazil)ARÁBICO
Portuguese (Portugal)ÁRABE
RussianАРАБСКОЕ
SpanishNUMERO.ARABE
SwedishARABISKA
TurkishARAP