1. Home
  2. Functions
  3. Information
  4. N

N function

Converts a value to a number: numbers stay, TRUE is 1, anything else is 0.

Syntax

=N(value)

Arguments

ArgumentRequiredDescription
valueRequiredThe value to convert

How to use N

N takes 1 required argument. Type =N( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=N(7)Result 7
=N(TRUE)Result 1
=N("Even")Result 0

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.