Microsoft+Excel+Data+Analysis+Cheat+Sheet
Microsoft+Excel+Data+Analysis+Cheat+Sheet
Table of Contents
Functions & Formula.............................................................................................. 2
Basic Functions ............................................................................................................2
Conditional Functions ...................................................................................................2
Date and Time Functions ...............................................................................................3
Others Statistical Functions ..........................................................................................4
Text Functions ..............................................................................................................4
Lookup & Reference Functions ......................................................................................4
Basic Functions
• SUM(range): Adds up all the numbers in a range.
• AVERAGE(range): Calculates the average of a group of numbers.
• STDEV.S(range): Calculates the standard deviation for a sample.
• COUNT(range): Counts the number of cells that contain numbers.
• MAX(range): Returns the largest number in a set of values.
• MIN(range): Returns the smallest number in a set of values.
Conditional Functions
• IF(logical_test, value_if_true, [value_if_false]): Evaluates a condition and
returns one value if that condition is true, and another value if the condition is
false.
o logical_test: The condition you want to check. This can involve
comparisons using operators like >, <, =, >=, <=, or <>.
o value_if_true: The value that is returned if the condition (logical_test) is
true.
o value_if_false: The value that is returned if the condition (logical_test) is
false. This argument is optional; if omitted and the condition is false, the
function will return FALSE.
o Example: If you want to assign a pass or fail status based on a student's
score in column B (assuming a passing score is 50), your formula would
look like: IF(B:B >= 50, "Pass", "Fail").
• SUMIF(range, criteria, [sum_range]): Adds up all the numbers in a range that
meet a specific criterion.
o range: The range of cells that you want evaluated by the criteria.
o criteria: The condition that determines which cells to add. This can be a
number, text, expression, or even a cell reference.
o sum_range: The actual cells to add together if their corresponding cells in
the range match the criteria. If omitted, Excel adds the cells in the range.
3
o Example: Suppose you want to sum all sales greater than $500 in column
B; your formula would look like: SUMIF(B:B, ">500")
• COUNTIF(range, criteria): Counts the number of cells within a range that meet
the given condition.
o range: The range of cells from which to count non-blank cells.
o criteria: The condition that determines which cells to count. Similar to
SUMIF, this can be expressed as a number, text, expression, or cell
reference.
o Example: If you want to count how many sales are over $500 in column B,
you would use: COUNTIF(B:B, ">500")
• AVERAGEIF(range, criteria, [average_range]): Calculates the average (mean) of
all the numbers in a range that meet a specific criterion.
o range: The range of cells that you want evaluated by the criteria.
o criteria: The condition that determines which cells to average.
o average_range: The actual cells to average if their corresponding cells in
the range match the criteria. If omitted, Excel averages the cells in the
range.
o Example: If you want to calculate the average sales for amounts greater
than $500 in column B, your formula would look like: AVERAGEIF(B:B,
">500")
Text Functions
• CONCATENATE(text1, [text2], ...): Joins two or more text strings into one string.
• UPPER(text): Converts text to uppercase.
• LOWER(text): Converts text to lowercase.
• TRIM(text): Removes spaces from text except for single spaces between words.
Keyboard Shortcuts
General Shortcuts
• Ctrl + N: Create a new workbook.
• Ctrl + O: Open an existing workbook.
• Ctrl + S: Save a workbook.
• Ctrl + P: Print a workbook.
• Ctrl + C: Copy selected cells.
• Ctrl + X: Cut selected cells.
• Ctrl + V: Paste content from the clipboard.
• Ctrl + Z: Undo an action.
• Ctrl + Y: Redo an action.
Navigation Shortcuts
• Arrow Keys: Move one cell up, down, left, or right.
• Ctrl + Arrow Key: Move to the edge of data regions.
• Home: Move to the beginning of a row.
• Ctrl + Home: Move to the beginning of a worksheet.
• Ctrl + End: Move to the last cell with content.
Formatting Shortcuts
• Ctrl + B: Apply or remove bold formatting.
• Ctrl + I: Apply or remove italic formatting.
• Ctrl + U: Apply or remove underlining.
• Ctrl + 1: Open the Format Cells dialog box.
• Alt + E, S, V: Paste special.
Formula Shortcuts
• F2: Edit the active cell.
• Ctrl + ` (grave accent): Switch between displaying cell values and formulas.
• Shift + F3: Insert a function.
• Ctrl + Shift + Enter: Enter a formula as an array formula.
Thank You!