You are here: All Help Topics > Accounting and Assurance > Calculations, Functions and Linkages > IN function
-- Reference --

IN function

The IN function evaluates the position of one string value (value 2) within another string value (value 1).

IN(value 1, value 2)

  • IN("Toronto, Ontario","Ontario")

    Returns a value of 10.

  • IN("Toronto, Ontario","Alberta")

    Returns a value of 0.

IN (DATABASE--> FIELD) OPERATOR VALUE

If the IN function finds the matching string and returns a value for the position of that string. Therefore, if a string exists then the value returned will NOT be 0.

  • IN(GL->JE_DESC,"BUDGET")>0

    Returns any journal entry with a description line that contains, and matches exactly to the text string "BUDGET".

Related Topics