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)| Argument | What it means | |
|---|---|---|
text | Required | A 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
| A | B | C | |
|---|---|---|---|
| 1 | Film | Credits year | |
| 2 | Documentary | MMXXVI | 2026 |
Result: 2026
MM (2000) + XX (20) + VI (6) = 2026.
2Sort chapters correctly
| A | B | |
|---|---|---|
| 1 | Chapter | |
| 2 | X | V |
| 3 | IX | IX |
| 4 | V | X |
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+).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Danish | ARABISK |
| Dutch | ARABISCH |
| Finnish | ARABIA |
| French | CHIFFRE.ARABE |
| German | ARABISCH |
| Hungarian | ARAB |
| Italian | ARABO |
| Norwegian (Bokmål) | ARABISK |
| Polish | ARABSKIE |
| Portuguese (Brazil) | ARÁBICO |
| Portuguese (Portugal) | ÁRABE |
| Russian | АРАБСКОЕ |
| Spanish | NUMERO.ARABE |
| Swedish | ARABISKA |
| Turkish | ARAP |