Formulas and Commands Flashcards
=ABS
Absolute function. Returns positive numbers only.
=AND(logical argument 1, logical arg 2,…)
=OR(logical argument 1, logical arg 2,…)
If statement logic
=CHOOSE(index number, value 1, …)
Select values based upon coding. Substitute for VLOOKUP and/or INDEX, MATCH. Lookup without using an external array / reference.
=CONCATENATE(text 1,text2,…)
Combine data in 2 (or more) different cells; can use ampersand (=A1&B1) to do the same thing
=COLUMNS(reference range)
Count the number of columns in an array or reference
=RATE(periods,payment,-PV,FV,type)
CAGR / growth over a period of time based upon a number of periods
=COUNT(value1, value2,…)
Count the number of items in an area
=HLOOKUP(lookup,array,row index,range lookup)
=VLOOKUP(lookup,array,col. index,range lookup)
Reference inputs from an array to lookup values in a data set, either by row or by column
=IF(logical test,value if true,value if false)
Condition-based arguments/logic
=IFERROR(value,value_if_error)
Returns a value you specify if a formula results in an error; otherwise, returns the result of the formula
=INDIRECT(ref_text,[a1])
Convert a text value into a valid cell reference. Can be used to create dynamic references (e.g., =INDIRECT(B6&“!A1”)) to reference another page (B6 = text value, which a spreadsheet; !A1 = cell in that spreadsheet)
=INDEX(reference,row_num,column_num,area_num)
Provides a value or reference at the intersection of a particular row (1st) and column (2nd) in a range
=MATCH(lookup value,lookup array,match type)
Provides the sequence position of text or a reference in an array (e.g., the 4th item in an array would return 4)
=INDEX(reference,MATCH(__),MATCH(__))
Returns a specific value at an exact column and row intersection
INDEX = output, MATCH 1 = Row, MATCH 2 = Column
=NPV(rate,value 1,…)
Provides the NPV for a DCF analysis
=OFFSET(reference,rows,columns,height,width)
Returns a value offset from a specified reference point (good for dynamic values in an array, such as quarterly sales and you want the sum for, say, Q3)
=SYD(cost,salvage,life,period)
Modeling depreciation on an item
=TEXT(value,”format of text”)
Convert number to text in a specific format (e.g., convert text to dates, dates to yyyymm, etc.)
Custom Number Syntax sequence (4 sections)
4 sections of code, separated by semicolons, in this order: POSITIVE; NEGATIVE; ZERO; TEXT
Custom Number Syntax
Digit placeholder that represents optional digits and does not display extra zeros.
0 Digit placeholder that displays insignificant zeros.
? Digit placeholder that leaves a space for insignificant zeros but doesn’t display them.
@ Text placeholder
. Decimal point
, Thousands separator. A comma that follows a digit placeholder scales the number by a thousand.
\ Displays the character that follows it.
“ “ Display any text enclosed in double quotes.
% Multiplies the numbers entered in a cell by 100 and displays the percentage sign.
/ Represents decimal numbers as fractions.
E Scientific notation format
_ Skips the width of the next character. It’s commonly used in combination with parentheses to add left and right indents, _( and _) respectively.
* (asterisk) Repeats the character that follows it until the width of the cell is filled. It’s often used in combination with the space character to change alignment.
[] Create conditional formats.
=COUNT(value1,…)
Counts the number of cells in a range that have NUMBERS in them
=COUNTA(value1,…)
Counts the number of non-empty cells in a range that have NUMBERS or CHARACTERS in them
=LEN(text)
Counts the number of characters in a cell, to include spaces
=TRIM(text)
Gets rid of any space in a cell, except for single spaces between words
=RIGHT(text,number of characters)
=LEFT( )
=MID(text, start number, number of characters)
Returns the specified number of characters within a string (relative to a position: right, left, mid)
=SUMIF(range,criteria,sum_range)
=COUNTIF(range,criteria,sum_range)
=AVERAGEIF(range,criteria,sum_range)
Performs the respective function IF criteria is met
=SUMIFS
=COUNTIFS
=AVERAGEIFS
Performs the respective function IF multiple criteria are met
Calculate
F9
Create chart (using table data)
Alt + F1
Create Table
Ctrl + T
Find & Replace
Ctrl + H
Go to
Ctrl + G (or F5)
Group
Alt + Shift + right arrow
Ungroup
Alt + Shift + left arrow
Hide column
Ctrl + 0
Unhide column
Ctrl + Shift + 0
Hide row
Ctrl + 9
Unhide row
Ctrl + Shift + 9
Insert hyperlink
Ctrl + K
Move around data
Ctrl + arrow key
Move around selected data
Ctrl + .
Refresh
F5
Strike through
Ctrl + 5