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