חל על
מהדורת מנוי של SharePoint Server SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint ב-Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 SharePoint ב-Microsoft 365 Small Business

Checks if the value is #NULL!. If the argument evaluates to TRUE, the function returns the alternate value, otherwise it returns the value.

Use NZ to replace #NULL! with a meaningful value, such as a message, in your calculated column.

Syntax

NZ(value,alternate)

Argument

Description

value

Can be a column reference. If value is #NULL!, the function returns the value in alternate. Otherwise, it returns value.

alternate

Can be numbers, text, or column references. The value in alternate is returned if value is #NULL!.

Example

Col1

Col2

Formula

Description (Result)

#NULL!

“No value found”

NZ([Col1],[Col2])

Checks whether the value in Col1 is the #NULL! error and returns the alternate value (“No value found”)

400

450

NZ([Col1],[Col2])

Checks whether the value in Col1 is the #NULL! error and returns the value (400)

Top of Page

זקוק לעזרה נוספת?

מעוניין באפשרויות נוספות?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.