N(value)
=N("apple")
The N function is used to convert non-numeric values into numeric values. For example, the statement above returns 0, because the string "apple" is not a number.
=N(100)
The N function can also be used to convert numeric values into numbers. For example, this returns 100, because 100 is a number.
=N(5/0)
The N function will return an error message if the argument is undefined. For example, this returns the error message #DIV/0!, because dividing by 0 is undefined.
=N(TRUE)
The N function can also be used to convert logical values into numbers. For example, this returns 1, because TRUE is equivalent to 1 in Sourcetable.
=N(3>1)
The N function can also be used to convert comparison operators into numbers. For example, this returns 1, because the comparison 3>1 is true.
The N function is a useful tool for converting values to numbers, and is compatible with other spreadsheet programs. It can also return dates in a built-in date format if the argument is a date.