Excel functions Flashcards

1
Q

=IF

A

=IF(logical_test, [value_if_true], [value_if_false])

logical test: condition one wants to test.

value_if_true: value that Excel will return if the condition is true.

value_if_false: value that it will return if the condition is false.

Example:
=IF(A2>100, “Yes, “No”)

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

=IF output

A

Letters or numbers according to the [value_if_true] and the [value_if_false]

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

=LEFT

A

=LEFT(text, num_chars)

text: text string to extract characters from.

num_chars: number of characters to extract.

Example:

=LEFT(A1, 2)

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

=LEFT output

A

Specified numbers of characters.

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

=RIGHT

A

=RIGHT(text, num_chars)

text: text string to extract characters from (cell).

num_chars: number of characters to extract.

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

=RIGHT output

A

Specified number of characters.

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

=MID

A

=MID(text, start_num, num_chars)

text: string extracting characters from.

start_num: the position in the text string to start extracting characters from - counting from the left.

num_chars: the number of characters you want to extract.

Example: =MID(A1,4,3)

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

=MID output

A

Specific characters.

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

=CONCAT

A

=CONCAT(text1, [text2], …)

text1: the first text value (a cell).

Example: =CONCAT(A2, “ “, B2, “, “, C2)
Equivalent: C2&” “&D2

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

=TRIM

A

=TRIM(text)

Example: =TRIM(A1)

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

=TRIM output

A

A specific text string with no spaces at the beginning nor the end. Only one space in the middle of words.

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

=SUBSTITUTE

A

=SUBSTITUTE(text, old_text, new_text, instance_num)

text: text string to replace characters in.

old_text: the character to replace.

new_text: new character to replace it with.

=SUBSTITUTE(D2,”COMM”,”BUSI”)

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

=SUBSTITUTE output

A

A new string with the specific “substitute text” in it.

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

=REPLACE

A

=REPLACE(old_text, start_num, num_chars, new_text)

old_text: original text string to replace characters in.

start_num: the position within the text string to start replacing characters

num_chars: the number of characters to replace (# of characters to replace).

new_text: the new text string to replace the old characters with.

Example:
A1: hello
=REPLACE(A1, 2, 1, “o”)
=> hollo

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

=COUNTSIF

A

=COUNTIFS(range1, criteria1, [range2, criteria2]…)

range1: the first range of cells to evaluate using criteria1.

criteria1: the condition that must be met by the cells in range1 for the cells to be counted.

range2, criteria2: optional - additional ranges and criteria to include in the count

Example:
=COUNTIFS(A1:A10,”>10”,A1:A10,”<20”)

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

=COUNTIFS output

A

The number of cells that meets the criterias.

17
Q

=SUMIFS

A

=SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2,…

sum_range: range of cells to sum up based on the given criteria (column that has the data values)

criteria_range1: range of cells that contains the first set of criteria (the column with the representing criteria)

criteria1: The first criterion to use to filter the data in the criteria_range1.

Example: =SUMIFS(D4:D8,C4:C8,”>1000”)

18
Q

=SUMIFS output

A

A number that sums up values in a range based on multiple criteria.

19
Q

=VLOOKUP

A

=VLOOKUP(lookup_value, table_array,col_index_num, range_lookup)

lookup_value: the value to look up in the first column of the table.

table_array: the range of cells that makes up the table one is searching. The column of the range must contain the lookup value, and the columns to the right must contain the values one wants Excel to return.

col_index_num: the column number of the table from which one wants Excel to return a value.

-> TRUE = exact match.
-> FALSE = approximate match.

Example: =VLOOKUP(A7, A3:E:5, 4, FALSE)

20
Q

=LEN

A

=LEN(text)

text: the string to find the length for.

21
Q

=VLOOKUP output

A

A number from another column relative to the lookup value (both are in the same row).

22
Q

=LEN output

A

A number that represents the number of characters in the specific text string.

23
Q

=FIND

A

=FIND(find_text, within_text, [start-num])

find_text: the text string to find within another text string.

within_text: the text string in which to search for the find_text.

start_num: the character position within “within_text’ where the search should begin. If omitted, the default value is 1.

Example: =FIND(“M”,A1)
Another: =FIND(“M”,A23,FIND(“M”,A23)+1)

24
Q

=FIND output

A

Returns the value of the position of the first character of the ‘find_text’ text string begins (based on the start_num specified).

25
Q

=SEARCH

A

=SEARCH(find_text, within_text, [start_num])

find_text: the text string to find within another text string.

within_text: the string in which to search for the ‘find_text’ string (a cell).

Start_num (optional): the character position within the ‘within_text” where the search should begin.

Example: =SEARCH(“2?5”,A12)
where “?” = anything.

26
Q

=SEARCH output

A

The position of the first character of the found text string in the searched text string.

27
Q

=OR

A

=OR(condition1, condition2,…)

Example: =OR(A1>10, A1<-10)

28
Q

=OR output

A

TRUE if one of the conditions is true, and FALSE if both of the conditions are false.

29
Q

=AND

A

=AND(condition1, condition2,…)

condition1: logical expressions, or cell references that contain certain values.

condition 2: logical expressions, or cell references that contain certain values.

Example: =AND(A1>10, A1<100)

30
Q

=AND output

A

If the specific logical conditions are true -> TRUE
- Both or true.
If it is not -> FALSE
- One is false.
- Both are false.