Excel
N function in Excel
Returns a value converted to a number
=N(value)N syntax and parameters
One argument, one required.
- valueanyRequired
The value you want converted. N converts values listed in the following table.
N examples
Formulas you'll actually reuse.
A date as its serial number; text becomes 0, TRUE becomes 1:
=N(D2)Result
46248An inline comment — N of text is 0, so the sum is unchanged:
=SUM(C2:C200) + N("Total after the Q3 refunds")Result
148200
N in Google Sheets
Same name — your formula ports as-is.
Try N in the playground
Edit the example — nothing to install.
Preloaded with the N formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- ERROR.TYPEReturns a number corresponding to an error typeInfoGoogle Sheets
- INFOReturns information about the current operating environmentThis function is not available in Excel for the web.InfoNo Google Sheets equivalent
- ISBLANKReturns TRUE if the value is blankInfoGoogle Sheets
- ISERRReturns TRUE if the value is any error value except #N/AInfoGoogle Sheets
- ISERRORReturns TRUE if the value is any error valueInfoGoogle Sheets