Formula Flashcards
1
Q
MAX and MIN Functions
A
- Use: MAX returns the maximum value from a range or a set of values, while MIN returns the minimum value.
Syntax:
-For MAX: =MAX(range1, range2, …)
-For MIN: =MIN(range1, range2, …)
2
Q
IF and IFS Functions
A
-Use: IF evaluates a condition and returns one value if the condition is true, and another value if false. IFS evaluates multiple conditions and returns a value corresponding to the first true condition.
Syntax:
- For IF: =IF(logical_test, value_if_true, value_if_false)
- For IFS: =IFS(test1, value1, [test2, value2], …)
3
Q
LENGTH Function
A
- Use: Returns the number of characters in a text string. {check SSN}
- Syntax: =LEN(text)
4
Q
RIGHT and LEFT Functions
A
- Use: RIGHT extracts a specified number of characters from the right side of a text string, and LEFT extracts from the left side. {extract year from date}
Syntax: - For RIGHT: =RIGHT(text, num_chars)
- For LEFT: =LEFT(text, num_chars)
5
Q
TEXT Function
A
- Use: Converts a value to text using a specified format.
- Syntax: =TEXT(value, format_text)
6
Q
TRIM Function
A
- Use: Removes extra spaces from a text string, excluding single spaces between words.
- Syntax: =TRIM(text)
7
Q
CONCATENATE Function
A
- Use: Joins multiple text strings into one single text string.
- Syntax: =CONCATENATE(text1, text2, …)
8
Q
SUBSTITUTE Function
A
- Use: Replaces occurrences of a specified substring with a new string within a given text.
- Syntax: =SUBSTITUTE(text, old_text, new_text, [instance_num])
9
Q
SUMIF and SUMIFS Functions
A
- Use: SUMIF calculates the sum of cells that meet a single condition, while SUMIFS calculates the sum of cells that meet multiple conditions.
Syntax: - For SUMIF: =SUMIF(range, criteria, [sum_range])
- For SUMIFS: =SUMIFS(sum_range, range1, criteria1, [range2, criteria2], …)
10
Q
COUNTIF and COUNTIFS Functions
A
- Use: COUNTIF counts the number of cells in a range that meet a single condition, while COUNTIFS counts the number of cells that meet multiple conditions.
Syntax: - For COUNTIF: =COUNTIF(range, criteria)
- For COUNTIFS: =COUNTIFS(range1, criteria1, [range2, criteria2], …)
11
Q
DAYS and NETWORKDAYS Functions
A
- Use: DAYS calculates the number of days between two dates, while NETWORKDAYS calculates the number of working days between two dates, excluding weekends and optional holidays.
Syntax: - For DAYS: =DAYS(end_date, start_date)
- For NETWORKDAYS: =NETWORKDAYS(start_date, end_date, [holidays])