N
Supported, behaves as documentedCategory: Information · Last tested 2026-08-06
Real, executed compatibility results for the N 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 |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when N’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Supported, behaves as documented | 2026-07-19 |
| 24.8.7.2 | Supported, behaves as documented | 2026-07-19 |
| 25.2.0.3 | Supported, behaves as documented | 2026-07-24 |
| 25.8.7.3 | Supported, behaves as documented | 2026-08-06 |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =N(A1) | A number passed through unchanged -> the number itself | 7 | 7 | Matched |
| =N(TRUE) | TRUE -> 1, per Microsoft's N doc example table | 1 | 1 Confirmed via https://support.microsoft.com/en-us/office/n-function-a624cad1-3635-4208-b54a-29733d1278c9 |
Matched |
| =N(FALSE) | FALSE -> 0, per the same doc's TRUE/FALSE convention | 0 | 0 | Matched |
| =N(A1) | Text (even numeric-looking text like "7") -> 0, per doc example N("7") = 0 and N("Even") = 0: 'anything else' converts to 0 | 0 | 0 | Matched |
| =N(DATE(2024,1,1)) | A date -> its underlying serial number, per doc example N(4/17/2011)=40650 | 45292 | 45292 2024-01-01 is Excel serial day 45292 under the 1900 date system. |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation