Advanced Excel Information - N Function



Description

The N function returns a value converted to a number.

Syntax

N (value) 

Arguments

Argument Description Required/Optional
Value

The value or reference to a value that you want converted.

N converts values listed in the table below.

Required

Value Return Value of N
A number That number
A date, in one of the built-in date formats available in Microsoft Excel The serial number of that date
TRUE 1
FALSE 0
An error value, such as #DIV/0! The error value
Anything else 0

Notes

  • You need not use the N function in a formula to convert values to numbers since Excel automatically converts values as necessary. This function is provided for compatibility with other spreadsheet programs.

  • Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

N Function
advanced_excel_information_functions.htm
Advertisements