N Function
The N function is one of the information functions. It is used to convert a value to a number.
The N function syntax is:
N(value)
where value is a value to test entered manually or included into the cell you make reference to. Below you will find the possible values and the result of their conversion:
Value | Number |
number | number |
date | date as serial number |
TRUE | 1 |
FALSE | 0 |
error | error value |
Other | 0 |
To apply the N function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Information function group from the list,
- click the N function,
- enter the required argument,
- press the Enter button.
The result will be displayed in the selected cell.