Modify text, create unique IDs, and work with location
Expressions may be used in various AppSheet features - app formulas, column constraints (Valid_If
, Show_If
, Required_If
) - to customize app behavior and provide advanced functionality.
The expressions described here cover a range of needs and don't fit into any of the other expression types.
New to expressions and formulas? See also Expressions: The Essentials.
Functions
Conditional
IF()
- Either/or conditional evaluationIFS()
- First-match conditional evaluationSWITCH()
- Choose-one conditional evaluation
Hyperlinks & URLs
HYPERLINK()
- New hyperlinkLINKTEXT()
- text component of hyperlink-
LINKURL()
- URL component of hyperlink
Informational
CONTEXT()
- Information about the running appUSEREMAIL()
- User's email addressUSERLOCALE()
- User's localeUSERNAME()
- User's nameUSERROLE()
- Assigned role of approved userUSERSETTINGS()
- Specified user-setting value
LatLong & XY
DISTANCE()
- Distance between two locationsGETX()
- X component ofXY
valueGETY()
- Y component ofXY
valueHERE()
- Current locationLAT()
- Latitude component ofLatLong
valueLATLONG()
-LatLong
from componentsLONG()
- Longitude component ofLatLong
value
Utility
TEXT_ICON()
- Icon from textUNIQUEID()
- Pseudo-unique ID