HEX2DEC
Supported, behaves as documentedCategory: Engineering · Last tested 2026-08-06
Real, executed compatibility results for the HEX2DEC function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =HEX2DEC("FF") | Converts a hexadecimal text value to its decimal number | 255 | 255 | Matched |
| =HEX2DEC("A") | The hex digit A is 10 in decimal | 10 | 10 | Matched |
| =HEX2DEC(DEC2HEX(4095)) | HEX2DEC reverses DEC2HEX, recovering the original number | 4095 | 4095 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation