USERID
Current logged-in user's ID
USERID is a special keyword that returns the ID of the currently logged-in user. This allows you to create user-specific formulas, filters, and conditional logic that adapt based on who is viewing the workbook. On Salesforce, this returns the Salesforce User ID; on web platforms, it returns a generic anonymous user identifier.
Related Functions
Other Special Functions & Keywords functions:
- CELL - Current cell value in criteria formulas
- COL - Column value using COL[A] or COL[1] syntax
- ONCE - Returns the value of the inner formula and only executes once, turning the cell into a value
- ONCHANGE - Returns initial_value until the range changes, then returns value_after_change and converts the cell to a static value
- RECORDID - Salesforce record ID for this workbook
- TAGS - Converts a table with headers and rows into a JSON object array. There should be a "label" column and each row is rendered as a hoverable tag with that label.
← Back to Formula Reference