ROMAN in Google Sheets: Numeral Labels and Relaxation Modes
Use ROMAN in Google Sheets for traditional numeral labels, understand all five relaxation modes and keep numeric sort keys alongside the resulting text.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =ROMAN(24) has expected result XXIV. ROMAN represents a number using Roman-numeral text. Omit its second argument for the traditional mode, or specify 0 explicitly.
Syntax and documented range
=ROMAN(number, [rule_relaxation])
Google’s ROMAN reference specifies number from 1 through 3999, inclusive. The optional relaxation setting runs from 0 through 4, with default 0. Higher modes allow additional subtractive arrangements and may produce shorter text.
For predictable numbering, use integer inputs in the documented range and an integer mode. The reviewed page does not fully document decimal truncation, Boolean mode aliases or exact native errors for out-of-range inputs; those behaviors are not imported from another spreadsheet program.
Worked example: section labels
Enter the following in A1:B5:
| Row | A: Section number | B: Topic |
|---|---|---|
| 1 | Section number | Topic |
| 2 | 1 | Overview |
| 3 | 4 | Preparation |
| 4 | 9 | Examples |
| 5 | 24 | Appendix |
In C1 enter Roman numeral. Fill this from C2 to C5:
=ROMAN(A2,0)
Expected results are I, IV, IX and XXIV. A display label can combine the numeral and the topic:
="Section "&ROMAN(A2,0)&": "&B2
The first expected label is Section I: Overview; the last is Section XXIV: Appendix. Keep the numeric section column as the authoritative ordering field.
Understand the five modes
Google documents the following outputs for 499. They demonstrate the mode differences clearly:
| Formula | Expected Roman text | Independent value breakdown |
|---|---|---|
=ROMAN(499,0) |
CDXCIX | 400 + 90 + 9 |
=ROMAN(499,1) |
LDVLIV | 450 + 45 + 4 |
=ROMAN(499,2) |
XDIX | 490 + 9 |
=ROMAN(499,3) |
VDIV | 495 + 4 |
=ROMAN(499,4) |
ID | 500 − 1 |
The values are the same, while the spellings differ. These particular mode outputs are documented examples; the arithmetic breakdowns were independently checked. Use mode 0 when readers expect ordinary Roman-numeral conventions. A shorter relaxed representation is not automatically easier to recognize.
For an original strict-mode example, 2026 becomes MMXXVI: 2000 + 20 + 6. Both =ROMAN(2026) and =ROMAN(2026,0) therefore have that expected result.
Advanced application: maintain a display column and a sort key
Suppose a list has section numbers 2, 9, 10, 11. ROMAN produces II, IX, X, XI. These strings are presentation values, while the original numbers represent the intended numerical order.
A robust report keeps two separate columns:
- A numeric section key used for sorting, arithmetic and validation.
- A formula-driven Roman display used in headings and printed labels.
This design also lets a report change presentation without changing its identifiers. If a style guide later requires a relaxed mode, place that mode in F1 and use =ROMAN(A2,$F$1) down the display column. The fixed reference applies the same selected mode everywhere. Use an explicitly allowed integer from 0 to 4.
The mode setting is not a maximum output length. It changes permitted representations, so do not choose it as a substitute for a field-width validation rule.
Validate before formatting
For an imported numeric value in A2, a preliminary range label could be:
=IF(A2<1,"Check range",IF(A2>3999,"Check range",ROMAN(A2,0)))
For independent numeric inputs 0, 24, 4000, expected results are Check range, XXIV, Check range. This simple guard handles the numeric range only. It does not verify that an input is an integer or normalize imported text; add those checks according to the data contract.
Avoid feeding zero, negative values or values above 3999 into the core example. The Google page’s documented domain does not establish a supported representation for them.
Troubleshooting and related conversion
Check the mode when an unfamiliar short spelling appears. Confirm that the input is the intended number rather than a numeric date serial. Do not expect summing or alphabetically sorting the displayed Roman strings to preserve their numerical meaning.
Google identifies ARABIC as the reverse-direction numeral-value function in the ROMAN reference. A general round-trip guarantee for every invalid or relaxed string was not established here; retaining the original numeric field is the simpler audit trail.
Availability and verification
ROMAN is documented in rolling Google Sheets. Original introduction date, first release and last functioning numbered version were not established. No cross-product equivalence for mode coercion or out-of-range behavior is claimed.
NOT_TESTED_IN_GOOGLE_SHEETS. Google’s individual ROMAN page was inspected on October 17, 2026. Strict numeral construction and the values of the documented mode examples were independently calculated. No native execution or screenshot is claimed.
Related published guides: IF, TEXT and CONCATENATE.