Salesforce Formulas & Functions Flashcards

(98 cards)

1
Q
  • (Multiply)
A

Multiplies its values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

/ (Divide)

A

Divides its values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

^ (Exponentiation)

A

Raises a number to a power of a specified number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

() (Parentheses)

A

Evaluates expressions inside parentheses first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

= and == (Equal)

A

Evaluates if two values are equivalent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

<> and != (Not Equal)

A

Evaluates if two values aren’t equivalent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

< (Less Than)

A

Evaluates if a value is less than the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

> (Greater Than)

A

Evaluates if a value is greater than the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

<= (Less Than or Equal)

A

Evaluates if a value is less than or equal to the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

> = (Greater Than or Equal)

A

Evaluates if a value is greater than or equal to the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

&& (AND)

A

Returns TRUE if both expressions are TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

|| (OR)

A

Returns TRUE if at least one expression is TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

& and + (Concatenate)

A

Connects two or more strings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ABS

A

Calculates the absolute value of a number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ADDMONTHS

A

Returns the date that is the indicated number of months before or after a specified date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

AND

A

Returns TRUE if all expressions are true; FALSE otherwise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

BEGINS

A

Returns TRUE if text begins with specified characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

BLANKVALUE

A

Returns substitute expression if original expression is blank.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

BR

A

Inserts a line break in a string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

CASE

A

Checks an expression against values; returns matching result.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

CASESAFEID

A

Converts 15-char ID to 18-char case-safe ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

CEILING

A

Rounds number up to nearest integer, away from zero if negative.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

CONTAINS

A

Returns TRUE if text contains specified substring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

CURRENCYRATE

A

Returns currency conversion rate to corporate currency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
DATE
Returns date from year, month, and day values.
26
DATEVALUE
Returns date from datetime or text expression.
27
DATETIMEVALUE
Returns datetime from year, month, day, time values.
28
DAY
Returns day of month (1–31).
29
DISTANCE
Calculates distance between two geolocations.
30
EXP
Returns e raised to specified power.
31
FIND
Returns position of text within text.
32
FLOOR
Rounds number down to nearest integer.
33
GEOLOCATION
Returns geolocation from lat/long.
34
GETRECORDIDS
Returns array of selected record IDs.
35
GETSESSIONID
Returns user’s session ID.
36
HOUR
Returns hour of local time.
37
HTMLENCODE
Encodes text for HTML display.
38
HYPERLINK
Creates a hyperlink using URL and link text.
39
IF
Returns one value if expression is TRUE, another if FALSE.
40
IMAGE
Displays an image with alternate text and size.
41
IMAGEPROXYURL
Retrieves secure external images.
42
INCLUDE
Includes s-control snippet.
43
INCLUDES
Returns TRUE if multi-select picklist contains specified value.
44
ISBLANK
Returns TRUE if expression is blank.
45
ISCHANGED
Returns TRUE if field value has changed.
46
ISCLONE
Returns TRUE if record is a clone.
47
ISNEW
Returns TRUE if record is new.
48
ISNULL
Returns TRUE if expression is null.
49
ISNUMBER
Returns TRUE if text is numeric.
50
ISPICKVAL
Returns TRUE if picklist equals specified value.
51
JSENCODE
Encodes text for JavaScript.
52
JSINHTMLENCODE
Encodes text for JavaScript inside HTML.
53
JUNCTIONIDLIST
Returns JunctionIDList from IDs.
54
LEFT
Returns characters from beginning of text.
55
LEN
Returns number of characters in text.
56
LINKTO
Returns relative URL link.
57
LN
Returns natural logarithm.
58
LOG
Returns base 10 logarithm.
59
LOWER
Converts text to lowercase.
60
LPAD
Pads text left with specified characters.
61
MAX
Returns highest number from list.
62
MCEILING
Rounds up toward zero if negative.
63
MFLOOR
Rounds down away from zero if negative.
64
MID
Returns characters from middle of text.
65
MILLISECOND
Returns milliseconds (0–999).
66
MIN
Returns lowest number from list.
67
MINUTE
Returns minute value (0–60).
68
MOD
Returns remainder of division.
69
MONTH
Returns month (1–12).
70
NOT
Returns logical negation.
71
NOW
Returns current datetime.
72
NULLVALUE
Returns substitute if expression is null.
73
OR
Returns TRUE if any expression is TRUE.
74
PARENTGROUPVAL
Returns value from parent grouping in report.
75
PREDICT
Returns Einstein Discovery prediction.
76
PREVGROUPVAL
Returns value from previous grouping in report.
77
PRIORVALUE
Returns previous field value.
78
REGEX
Returns TRUE if text matches regex.
79
REQUIRESCRIPT
Returns JavaScript script tag.
80
REVERSE
Returns reversed text.
81
RIGHT
Returns characters from end of text.
82
ROUND
Rounds number to specified decimal places.
83
RPAD
Pads text right with specified characters.
84
SECOND
Returns seconds (0–60).
85
SQRT
Returns square root of number.
86
SUBSTITUTE
Replaces text in string.
87
TEXT
Converts values to text.
88
TIMENOW
Returns current time (GMT).
89
TIMEVALUE
Returns time value only.
90
TODAY
Returns current date.
91
TRIM
Trims spaces/tabs from text ends.
92
UPPER
Converts text to uppercase.
93
URLENCODE
Encodes text for URL.
94
URLFOR
Returns URL for file, action, or page.
95
VALUE
Converts text to number.
96
VLOOKUP
Looks up related value on custom object.
97
WEEKDAY
Returns weekday (1=Sun, ..., 7=Sat).
98
YEAR
Returns year from date.