N
Supported, behaves as documentedCategory: Information · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| 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