Functions Utility

Null

The Null() function returns an array with one element representing a missing value. It is commonly used to:

  • Populate empty cells with a specified value.
  • Recognize unpopulated cells in Excel.

Syntax:

Qx.Null()
  • In Excel with Quintessence add-in versions prior to 25.1, use: Null()
  • In the Quintessence Editor (Studio) using Quintessence language, use: Null()
  • In the Quintessence Editor (Studio) using Python language, use: Qx.Null()

Examples:

The examples provided below are based on fictitious data for illustrative purposes only.

> Example 1: Recognising and replacing empty cells


Data block (A1:B6):

01 April 201525604
02 April 201524970
03 April 201525369
04 April 2015
05 April 2015
06 April 201524684

Replace empty cells using SubstituteArray() and Null() with the string “Weekend”:

    =Qx.SubstituteArray(A1:B6, "Weekend", Qx.Null())

    Result:

    01 April 201525604
    02 April 201524970
    03 April 201525369
    04 April 2015Weekend
    05 April 2015Weekend
    06 April 201524684