Docsity

Applied Probability and Statistics - Excel Function List | STAT 400, Study notes of Probability and Statistics

Toggle sidebar
bg1
Common Excel Functions
AND
Returns TRUE if all arguments in the formula are true, and FALSE if any one argument
is false.
=AND(logical1,logical2,...)
IF
Returns a value if one condition is true, and returns another value if the condition is false.
=IF(logical_test,value_if_true,value_if_false)
NOT
Returns the reverse value of its arguments.
=NOT(logical)
OR
Returns TRUE if any one argument is true. Returns FALSE if all arguments are false.
=OR(logical1,logical2,...)
ISBLANK
Returns TRUE if value refers to an empty cell.
=ISBLANK(value)
ISERROR
Returns TRUE if value refers to any error value in Microsoft Excel.
=ISERROR(value)
ISNA
Returns TRUE if value is associated with the error type #NA.
=ISNA(value)
ADDRESS
Given specified row and column numbers, creates a cell address as text.
=ADDRESS(row_num,column_num,abs_num,A1,sheet_text)
INDEX (Array Form)
Based on a table or array, returns the value of an element selected by the row number and
column letter indexes.
=INDEX(array,row_num,column_num)
INDEX (Reference Form)
Based on the intersection of a particular row and column, returns the reference of the cell.
=INDEX(reference,row_num,column_num,area_num)
INDIRECT
Returns the reference based on a text string.
pf3
pf4
pf5

Partial preview of the text

Download Applied Probability and Statistics - Excel Function List | STAT 400 and more Study notes Probability and Statistics in PDF only on Docsity!

Common Excel Functions

AND

Returns TRUE if all arguments in the formula are true, and FALSE if any one argument is false. =AND( logical1 , logical2 ,...) IF Returns a value if one condition is true, and returns another value if the condition is false. =IF( logical_test , value_if_true , value_if_false ) NOT Returns the reverse value of its arguments. =NOT( logical ) OR Returns TRUE if any one argument is true. Returns FALSE if all arguments are false. =OR( logical1 , logical2 ,...) ISBLANK Returns TRUE if value refers to an empty cell. =ISBLANK( value ) ISERROR Returns TRUE if value refers to any error value in Microsoft Excel. =ISERROR( value ) ISNA Returns TRUE if value is associated with the error type #NA. =ISNA( value ) ADDRESS Given specified row and column numbers, creates a cell address as text. =ADDRESS( row_num , column_num , abs_num , A1 , sheet_text ) INDEX (Array Form) Based on a table or array, returns the value of an element selected by the row number and column letter indexes. =INDEX( array , row_num , column_num ) INDEX (Reference Form) Based on the intersection of a particular row and column, returns the reference of the cell. =INDEX( reference , row_num , column_num , area_num ) INDIRECT Returns the reference based on a text string.

=INDIRECT( ref_text , A1 ) LOOKUP (Vector Form) Based on a range of one row or one column, returns the value from the same position in a second row or column. =LOOKUP( lookup_value , lookup_vector , result_vector ) LOOKUP (Array Form) Looks in the first row or column of an array, and returns the specified value from the same position in the last row or column of the array. =LOOKUP( lookup_value , array ) VLOOKUP Looks for a value in the left most column of a table and returns a value from the column number you specify. =VLOOKUP( lookup_value , table_array , column_index_num , range_lookup ) HLOOKUP Searches for a specified value in an array or tables, based on the value found in the first row. =HLOOKUP( lookup_value , table_array , row_index_number , range_lookup ) MATCH Returns the position of an item in an array that matches a specified value and order. =MATCH( lookup_value , lookup_array , match_type ) OFFSET Returns a reference to a range that is a specific number of rows and columns from a cell or range of cells. =OFFSET( reference , rows , columns , height , width ) RANK Returns the rank of a number in a list of numbers. =RANK( number , ref , order ) SMALL Returns the k -th smallest value in a data set. =SMALL( array , k ) LARGE Returns the k -th largest value in a data set. =LARGE( array , k ) ABS Returns the absolute value of number. =ABS( number )

SUMPRODUCT

Multiplies corresponding components in the given array, and returns the sum of those products. =SUMPRODUCT( array1 , array2 , array3 ,...) CORREL Returns the correlation coefficient of array1 and array2 cell ranges. =CORREL( array1 , array2 ) LINEST Calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data, and returns an array that describes the line. =LINEST( known_y's , known_x's , const , stats )

MH Links

  • To create an MH link, copy the risk formula from MH.
  • Next, paste the formula in Excel and highlight the next 12 columns.
  • Hit F2.
  • While holding down “Ctrl” and “Shift”, hit “Enter”. The data fills in without any headers. These are the column headers: StkPric e StkPo s Delt a Gamm a Thet a Veg a Rh o ThEdg e OPE N OpenPo s DayTrad e Ne t Note: Excel treats this data as an array, so you can not edit or delete a cell in this range.

Reuters Links

There are many versions of Reuters, but most of the firm has the Reuters Station. You will need to add the Reuters plug-in to access real-time feeds. To add the plug-in in Excel, go to Tools->Add-Ins. Click Browse. Go to C:\Program Files\Reuters\RBWS\XL_Files and add BTools.xla There are many ways to create links to real-time Reuters data. The easiest way is to create a matrix with a list of symbols vertically and a list of fields horizontally (if you don’t know the correct syntax for a field, you can search for it but most are straightforward). After creating symbols and fields, click on the empty cell in the upper left hand corner.

You do not have to use the Symbol Table to create links. You can use the formulas directly. The syntax for the formula is =BDDE|TKR!' symbol / field_name ' For example, =BDDE|TKR!'UAUA/Last' would return the same value as cell B8 in the picture above (48.44).