Excel Function List
Excel Function List
ACCRINT Analysis ToolPak Financial Returns the accrued interest for a security that
pays periodic interest
ACCRINTM Analysis ToolPak Financial Returns the accrued interest for a security that
pays interest at maturity
ADDRESS Built In Lookup & Ref Creates a cell address as text based on given
row and column rumbers
AMORDEGRC Analysis ToolPak Financial Returns the depreciation for each accounting
period using the French accounting system
AMORLINC Analysis ToolPak Financial Returns the depreciation for each accounting
period using the French accounting system
AND Built In Logical Returns TRUE if all its arguments are TRUE
AREAS Built In Lookup & Ref Returns the number of areas in a reference
CHITEST Built In Statistical Returns the value from the chi-squared (γ2)
distribution for the statistic and the appropriate
degrees of freedom
CHOOSE Built In Lookup & Ref Uses a specified index number to select one
from up to 29 specified values
CODE Built In Text Returns a numeric code for the first character
in a text string
COLUMN Built In Lookup & Ref Returns the column number of the cell or a
specified reference
COLUMNS Built In Lookup & Ref Returns the number of columns in an array or
reference
COMPLEX Analysis ToolPak Engineering Converts real and imaginary coefficients into
complex numbers of the form x + yi or x + yj
depending upon suffix
CONCATENATE Built In Text Joins several text items into one text item
COUNTA Built In Statistical counts how many values are in the list of
arguments
COUNTBLANK Built In Information Counts the number of non-empty cells and the
values within the list of arguments
COUNTIF Built In Maths Counts the number of cells that meet the
criteria specified in the argument
COUPDAYBS Analysis ToolPak Financial Returns the number of days from the beginning
of the coupon period to the settlement date
using the specified or default day counting
basis
COUPDAYS Analysis ToolPak Financial Returns the number of days in the coupon
period that contains the settlent date using the
specified or default day counting basis
COUPDAYSNC Analysis ToolPak Financial Returns the number of days from the
settlement date to the next coupon date using
the specified or default day counting basis
COUPNCD Analysis ToolPak Financial Returns the next coupon date after the
settlement date using the specified or default
day counting basis
COUPPCD Analysis ToolPak Financial Returns the previous coupon date before the
settlement date using the specified or default
day counting basis
CRITBINOM Built In Statistical Returns the smallest value for which the
cumulative binomial distribution is less than or
equal to a criterion value
CUMIPMT Analysis ToolPak Financial Returns the cumulative interest paid between
two periods
CUMPRINC Analysis ToolPak Financial Returns the cumulative principal paid on a loan
between two periods
DATE Built In Date & Time Returns the sequential Excel date / time serial
number that represents a particular date
DATEDIF Analysis ToolPak Date & Time Calculates differences between two dates in
terms of specified units and assumptions
DATEVALUE Built In Date & Time Converts a date text form to an Excel date /
time serial number
DAY Built In Date & Time Converts an Excel date / time serial number to
the day of a month
DAYS360 Built In Date & Time Calculates the number of days between two
dates using a specified 30 day month 360 day
year method
DELTA Analysis ToolPak Engineering Test whether two values are equal
DISC Analysis ToolPak Financial Returns the discount rate for a security using
the specified or default day counting basis
EDATE Analysis ToolPak Date & Time Returns the Excel date / time serial number of
the date that is the indicated number of months
before or after the specified number of months
from the start_date
EFFECT Analysis ToolPak Financial Returns the effective annual interest rate of a
given nominal rate with its compounding
frequency
EOMONTH Analysis ToolPak Date & Time Returns the Excel date / time serial number of
the last day of the month before or after a
specified number of months from start_date
ERF Analysis ToolPak Engineering Returns the error function integrated between
lower_limit and upper_limit
EXACT Built In Text Checks to see whether two text values are
identical
FIND Built In Text Finds one text value within another (case
sensitive)
FINDB Built In Text Finds one text value within another (case
sensitive) based on the number of bytes each
character uses.
FREQUENCY Built In Statistical Counts how often values occur within given
ranges of values and returns those counts as a
vertical array of numbers
FVSCHEDULE Analysis ToolPak Financial Returns the future value of an initial principal
after applying a series of compound interest
rates
HLOOKUP Built In Lookup & Ref Looks in the top row of a table or array and
returns the value of the indicated cell
HOUR Built In Date & Time Converts an Excel date / time serial number to
an hour
HYPERLINK Built In Lookup & Ref Creates a shortcut that opens a document on
your hard drive, a server or the internet
IMDIV Analysis ToolPak Engineering Returns the quotient of two complex numbers
provided in the text format "x + yi" or "x + yj"
IMPOWER Analysis ToolPak Engineering Returns a complex number provided in the text
format "x + yi" or "x + yj" raised to an integer
number
IMSQRT Analysis ToolPak Engineering Returns the square root of a complex number
provided in the text format "x + yi" or "x + yj"
INDEX Built In Lookup & Ref Alternative forms. Array form returns a value or
array of values. Reference form returns a
reference.
INTERCEPT Built In Statistical Calculates from given x and y values the point
at which a line will intersect the y-axis
INTRATE Analysis ToolPak Financial Returns the interest rate for a fully invested
security using the specified or default day
counting basis
IRR Built In Financial Returns the internal rate of return for a series
of cash flows
ISERR Built In Information Returns TRUE if the value is any error value
except #N/A
ISERROR Built In Information Returns TRUE if the value is any error value
LARGE Built In Statistical Returns the kth largest value in a data set
LEFT Built In Text Returns the left most characters from a text
value
LOOKUP Built In Lookup & Ref Alternative forms. Vector form looks up values
in a one row or column range and returns a
value in a second one row or column range.
Array form looks in the first row or column of
an array for the specified value and returns a
value from the same position in the last row or
column of the array
MATCH Built In Lookup & Ref Returns the relative position of an item in an
array that matches a specified value in a
specified order
MDURATION Analysis ToolPak Financial Returns the Macauley modified duration for a
security with an assumed par value of $100
using the specified or default day counting
basis
MINUTE Built In Date & Time Converts an Excel date / time serial number to
a minute
MOD** Built In Maths Returns the remainder from division with the
result having the same sign as the divisor
MODE Built In Statistical Returns the most common value in a data set
MONTH Built In Date & Time Converts an Excel date / time serial number to
a month number
MULTINOMIAL Analysis ToolPak Maths Returns the ratio of the factorial of a sum of
values to the product of factorials
NETWORKDAYS Analysis ToolPak Date & Time Returns the number of whole working days
between two dates excluding specified
holidays
NOMINAL Analysis ToolPak Financial Returns the nominal rate equivalent to a given
annual effective with a given compounding
frequency for the nominal rate
NOW Built In Date & Time Returns the Excel date / time serial number of
the current date and time
ODDFYIELD Analysis ToolPak Financial Returns the yield of a security with an odd first
period using the specified or default day
counting basis
ODDLPRICE Analysis ToolPak Financial Returns the price per $100 face value of a
security with an odd last period using the
specified or default day counting basis
ODDLYIELD Analysis ToolPak Financial Returns the yield of a security with an odd last
period using the specified or default day
counting basis
PRICE Analysis ToolPak Financial Returns the price per $100 face value of a
security that pays periodic interest using the
specified or default day counting basis
PRICEDISC Analysis ToolPak Financial Returns the price per $100 face value of a
discounted security using the specified or
default day counting basis
PRICEMAT Analysis ToolPak Financial Returns the price per $100 face value of a
security that pays interest at maturity using the
specified or default day counting basis
PROB Built In Statistical Returns either the probability that values in a
range are between two limits or if upper_limit
is not specified, the probability that values in
x_range are equal to lower_limit
PROPER Built In Text Capitalizes the first letter in each word of a text
value
RECEIVED Analysis ToolPak Financial Returns the amount received at maturity for a
fully invested security using the specified or
default day counting basis
ROW Built In Lookup & Ref Returns the row number of a reference
ROWS Built In Lookup & Ref Returns the number of rows in a reference
RTD Built In Lookup & Ref Retrieves real-time data from a program that
supports COM automation
SEARCH Built In Text Finds one text value within another (not case
sensitive) and returns the number of the
starting position
SEARCHB Built In Text Finds one text string (find_text) within another
text string (within_text), and returns the
number of the starting position of find_text. The
result is based on the number of bytes each
character uses, beginning with start_num
SECOND Built In Date & Time Converts an Excel date / time serial number to
a second
SERIESSUM Analysis ToolPak Maths Returns the sum of a power series expansion
SMALL Built In Statistical Returns the kth smallest value in a data set
SQRTPI Analysis ToolPak Maths Returns the square root of a number multiplied
by pi
SUBSTITUTE Built In Text Substitutes new text for old text in a text string
TBILLPRICE Analysis ToolPak Financial Returns the price per $100 face value for a
Treasury bill
TBILLYIELD Analysis ToolPak Financial Returns the yield for a treasury bill
TIMEVALUE Built In Date & Time Converts the time in an acceptable form of text
enclosed in quotation marks to the decimal
portion of an Excel date / time serial number
TODAY Built In Date & Time Returns the Excel date / time serial number of
today's date
TRIM Built In Text Removes all spaces from text except single
spaces between words
WEEKDAY Built In Date & Time Converts an Excel date / time serial number to
the number of the day of the week based upon
counting system of return_type
WEEKNUM Analysis ToolPak Date & Time Returns the weeknumber in the year based
upon return_type counting basis
WORKDAY Analysis ToolPak Date & Time Returns the Excel date / time serial number of
the date before or after a specified number of
workdays excluding holidays
XIRR Analysis ToolPak Financial Returns the annual effective interest rate for a
schedule of cash flows received at specified
dates
XNPV Analysis ToolPak Financial Returns the net present value for a schedule of
cash flows received at specified dates
YEAR Built In Date & Time Converts an Excel date / time serial number to
a year
YEARFRAC Analysis ToolPak Date & Time Returns the difference between start_date and
end_date expressed as a number of years
including decimal fraction of a year.
YIELD Analysis ToolPak Financial Returns the yield on a security that pays
periodic interest using the specified or default
day counting basis
YIELDDISC Analysis ToolPak Financial Returns the annual yield for a discounted
security using the specified or default day
counting basis.
YIELDMAT Analysis ToolPak Financial Returns the annual yield of a security that pays
interest at maturity using the specified or
default day counting basis
Notes: ** The Excel MOD function uses a different definition of MOD to that used by VBA Mod function insofar as negative numbers are conce
XCEL FUNCTIONS
Syntax
=ABS(Number)
=ACCRINT(Issue,First_Interest,Settlement,Rate,
Par,Frequency,Basis)
=ACCRINTM(Issue,Settlement,Rate,Par,Basis)
=ACOS(Number)
=ACOSH(Number)
=ADDRESS(Row_num,Column_num,Abs_num,
A1,Sheet_text)
=AMORDEGRC(Cost,Date_purchased,First_period,
Salvage,Period,Rate,Basis)
=AMORLINC(Cost,Date_purchased,First_period,
Salvage,Period,Rate,Basis)
=AND(Logical1,Logical2,…)
=AREAS(reference)
=ASC(Text)
=ASIN(Number)
=ASINH(Number)
=ATAN(Number)
=ATAN2(x_num,y_num)
=ATANH(Number)
=AVEDEV(Number1,Number2,…)
=AVERAGE(Number1,Number2,…)
=AVERAGEA(Value1,Value2,…)
=BAHTTEXT(number)
=BESSELI(x,n)
=BESSELJ(x,n)
=BESSELK(x,n)
=BESSELY(x,n)
=BETADIST(x,alpha,beta,A,B)
=BETAINV(probability,alpha,beta,A,B)
=BIN2DEC(Number)
=BIN2HEX(Number,Places)
=BIN2OCT(Number,Places)
=BINOMDIST(number_s,trials,probability_s,
cumulative)
=CEILING(number,significance)
=CELL(info_type,reference)
=CHAR(Number)
=CHIDIST(x,degrees_freedom)
=CHIINV(probability,degrees_freedom)
=CHITEST(actual_range,expected_range)
=CHOOSE(index_num,value1,value2,...)
=CLEAN(text)
=CODE(text)
=COLUMN(reference)
=COLUMNS(array)
=COMBIN(number,number_chosen)
=COMPLEX(real_num,i_num,suffix)
=CONCATENATE (text1,text2,...)
=CONFIDENCE(alpha,standard_dev,size)
=CONVERT(number,from_unit,to_unit)
=CORREL(array1,array2)
=COS(Number)
=COSH(Number)
=COUNT(value1,value2, ...)
=COUNTA(value1,value2, ...)
=COUNTBLANK(range)
=COUNTIF(range,criteria)
=COUPDAYBS(settlement,maturity,
frequency,basis)
=COUPDAYS(settlement,maturity,
frequency,basis)
=COUPDAYSNC(settlement,maturity,
frequency,basis)
=COUPNCD(settlement,maturity,frequency,basis)
=COUPNUM(settlement,maturity,frequency,basis)
=COUPPCD(settlement,maturity,frequency,basis)
=COVAR(array1,array2)
=CRITBINOM(trials,probability_s,alpha)
=CUMIPMT(rate,nper,pv,start_period,end_period,
type)
=CUMPRINC(rate,nper,pv,start_period,end_period,
type)
=DATE(year,month,day)
=DATEDIF(start_date,end_date,unit)
=DATEVALUE(date_text)
=DAVERAGE(database,field,criteria)
=DAY(serial_number)
=DAYS360(start_date,end_date,method)
=DB(cost,salvage,life,period,month)
=DCOUNT(database,field,criteria)
=DCOUNTA(database,field,criteria)
=DDB(cost,salvage,life,period,factor)
=DEC2BIN(Number)
=DEC2HEX(Number)
=DEC2OCT(Number)
=DEGREES(angle)
=DELTA(number1,number2)
=DEVSQ(number1,number2,...)
=DGET(database,field,criteria)
=DISC(settlement,maturity,pr,redemption,basis)
=DMAX(database,field,criteria)
=DMIN(database,field,criteria)
=DOLLAR(number,decimals)
=DOLLARDE(fractional_dollar,fraction)
=DOLLARFR(decimal_dollar,fraction)
=DPRODUCT(database,field,criteria)
=DSTDEV(database,field,criteria)
=DSTDEVP(database,field,criteria)
=DSUM(database,field,criteria)
=DURATION(settlement,maturity,coupon,yld,
frequency,basis)
=DVAR(database,field,criteria)
=DVARP(database,field,criteria)
=EDATE(start_date,months)
=EFFECT(nominal_rate,npery)
=EOMONTH(start_date,months)
=ERF(lower_limit,upper_limit)
=ERFC(x)
=ERROR.TYPE(error_val)
=EUROCONVERT(number,source,target,
full_precision,triangulation_precision)
=EVEN(Number)
=EXACT(text1,text2)
=EXP(Number)
=EXPONDIST(x,lambda,cumulative)
=FACT(Number)
=FACTDOUBLE(number)
=FALSE()
=FDIST(x,degrees_freedom1,
degrees_freedom2)
=FIND(find_text,within_text,start_num)
=FINDB(find_text,within_text,start_num)
=FINV(probability,degrees_freedom1,
degrees_freedom2)
=FISHER(x)
=FISHERINV(y)
=FIXED(number,decimals,no_commas)
=FLOOR(number,significance)
=FORECAST(x,known_y's,known_x's)
=FREQUENCY(data_array,bins_array)
=FTEST(array1,array2)
=FV(rate,nper,pmt,pv,type)
=FVSCHEDULE(principal,schedule)
=GAMMADIST(x,alpha,beta,cumulative)
=GAMMAINV(probability,alpha,beta)
=GAMMALN(x)
=GCD(number1,number2, ...)
=GEOMEAN(number1,number2, ...)
=GESTEP(number,step)
=GETPIVOTDATA(data_field,pivot_table,field1,item1,field2,item2,...)
=GROWTH(known_y's,known_x's,new_x's,const)
=HARMEAN(number1,number2, ...)
=HEX2BIN(Number,Places)
=HEX2DEC(Number)
=HEX2OCT(Number,Places)
=HLOOKUP(lookup_value,table_array,
row_index_num,range_lookup)
=HOUR(serial_number)
=HYPERLINK(link_location,friendly_name)
=HYPGEOMDIST(sample_s,number_sample,
population_s,number_population)
=IF(logical_test,value_if_true,value_if_false)
=IMABS(inumber)
=IMAGINARY(inumber)
=IMARGUMENT(inumber)
=IMCONJUGATE(inumber)
=IMCOS(inumber)
=IMDIV(inumber1,inumber2)
=IMEXP(inumber)
=IMLN(inumber)
=IMLOG10(inumber)
=IMLOG2(inumber)
=IMPOWER(inumber,number)
=IMPRODUCT(inumber1,inumber2,...)
=IMREAL(inumber)
=IMSIN(inumber)
=IMSQRT(inumber)
=IMSUB(inumber1,inumber2)
=IMSUM(inumber1,inumber2,...)
=INDEX(array,row_num,column_num)
=INDEX(reference,row_num,column_num,
area_num)
=INDIRECT(ref_text,a1)
=INFO(type_text)
=INT(Number)
=INTERCEPT(known_y's,known_x's)
=INTRATE(settlement,maturity,investment,
redemption,basis)
=IPMT(rate,per,nper,pv,fv,type)
=IRR(values,guess)
=ISBLANK(Value)
=ISERR(Value)
=ISERROR(Value)
=ISEVEN(Number)
=ISLOGICAL(Value)
=ISNA(Value)
=ISNONTEXT(Value)
=ISNUMBER(Value)
=ISODD(Number)
=ISPMT(rate,per,nper,pv)
=ISREF(Value)
=ISTEXT(Value)
=JIS(text)
=KURT(number1,number2, ...)
=LARGE(array,k)
=LCM(number1,number2, ...)
=LEFT(text,num_chars)
=LEFTB(text,num_bytes)
=LEN(text)
=LENB(text)
=LINEST(known_y's,known_x's,const,stats)
=LN(Number)
=LOG(Number,base)
=LOG10(Number)
=LOGEST(known_y's,known_x's,const,stats)
=LOGINV(probability,mean,standard_dev)
=LOGNORMDIST(x,mean,standard_dev)
=LOOKUP(lookup_value,lookup_vector,
result_vector)
=LOOKUP(lookup_value,array)
=LOWER(text)
=MATCH(lookup_value,lookup_array,
match_type)
=MAX(number1,number2,...)
=MAXA(value1,value2,...)
=MDETERM(array)
=MDURATION(settlement,maturity,coupon,yld,
frequency,basis)
=MEDIAN(number1,number2, ...)
=MID(text,start_num,num_chars)
=MIDB(text,start_num,num_bytes)
=MIN(number1,number2,...)
=MINA(value1,value2,...)
=MINUTE(serial_number)
=MINVERSE(array)
=MIRR(values,finance_rate,reinvest_rate)
=MMULT(array1,array2)
=MOD(number,divisor)
=MODE(number1,number2,...)
=MONTH(serial_number)
=MROUND(number,multiple)
=MULTINOMIAL(number1,number2, ...)
=N(Value)
=NA()
=NEGBINOMDIST(number_f,number_s,
probability_s)
=NETWORKDAYS(start_date,end_date,holidays)
=NOMINAL(effect_rate,npery)
=NORMDIST(x,mean,standard_dev,cumulative)
=NORMINV(probability,mean,standard_dev)
=NORMSDIST(z)
=NORMSINV(probability)
=NOT(Logical)
=NOW()
=NPV(rate,value1,value2, ...)
=OCT2BIN(number,places)
=OCT2DEC(number)
=OCT2HEX(number,places)
=ODD(number)
=ODDFPRICE(settlement,maturity,issue,
first_coupon,rate,yld,redemption,
frequency,basis)
=ODDFYIELD(settlement,maturity,issue,
first_coupon,rate,pr,redemption,
frequency,basis)
=ODDLPRICE(settlement,maturity,last_interest,
rate,yld,redemption,frequency,basis)
=ODDLYIELD(settlement,maturity,last_interest,
rate,pr,redemption,frequency,basis)
=OFFSET(reference,rows,cols,height,width)
=OR(logical1,logical2,...)
=PEARSON(array1,array2)
=PERCENTILE(array,k)
=PERCENTRANK(array,x,significance)
=PERMUT(number,number_chosen)
=PHONETIC(reference)
=PI()
=PMT(rate,nper,pv,fv,type)
=POISSON(x,mean,cumulative)
=POWER(number,power)
=PPMT(rate,per,nper,pv,fv,type)
=PRICE(settlement,maturity,rate,yld,redemption,
frequency,basis)
=PRICEDISC(settlement,maturity,discount,
redemption,basis)
=PRICEMAT(settlement,maturity,issue,rate,
yld,basis)
=PROB(x_range,prob_range,lower_limit,
upper_limit)
=PRODUCT(number1,number2, ...)
=PROPER(text)
=PV(rate,nper,pmt,fv,type)
=QUARTILE(array,quart)
=QUOTIENT(numerator,denominator)
=RADIANS(angle)
=RAND()
=RANDBETWEEN(bottom,top)
=RANK(number,ref,order)
=RATE(nper,pmt,pv,fv,type,guess)
=RECEIVED(settlement,maturity,investment,
discount,basis)
=REGISTER.ID(module_text,procedure,type_text)
=REPLACE(old_text,start_num,num_chars,
new_text)
=REPLACEB(old_text,start_num,num_bytes,
new_text)
=REPT(text,number_times)
=RIGHT(text,num_chars)
=RIGHTB(text,num_bytes)
=ROMAN(number,form)
=ROUND(number,num_digits)
=ROUNDDOWN(number,num_digits)
=ROUNDUP(number,num_digits)
=ROW(reference)
=ROWS(array)
=RSQ(known_y's,known_x's)
=RTD(ProgID,server,topic1,[topic2],...)
=SEARCH(find_text,within_text,start_num)
=SEARCHB(find_text,within_text,start_num)
=SECOND(serial_number)
=SERIESSUM(x,n,m,coefficients)
=SIGN(number)
=SIN(number)
=SINH(number)
=SKEW(number1,number2,...)
=SLN(cost,salvage,life)
=SLOPE(known_y's,known_x's)
=SMALL(array,k)
=SQL.REQUEST(connection_string,output_ref,
driver_prompt,query_text,col_names_logical)
=SQRT(number)
=SQRTPI(number)
=STANDARDIZE(x,mean,standard_dev)
=STDEV(number1,number2,...)
=STDEVA(value1,value2,...)
=STDEVP(number1,number2,...)
=STDEVPA(value1,value2,...)
=STEYX(known_y's,known_x's)
=SUBSTITUTE(text,old_text,new_text,
instance_num)
=SUBTOTAL(function_num,ref1,ref2,...)
=SUM(number1,number2, ...)
=SUMIF(range,criteria,sum_range)
=SUMPRODUCT(array1,array2,array3, ...)
=SUMSQ(number1,number2, ...)
=SUMX2MY2(array_x,array_y)
=SUMX2PY2(array_x,array_y)
=SUMXMY2(array_x,array_y)
=SYD(cost,salvage,life,per)
=T(value)
=TAN(number)
=TANH(number)
=TBILLEQ(settlement,maturity,discount)
=TBILLPRICE(settlement,maturity,discount)
=TBILLYIELD(settlement,maturity,pr)
=TDIST(x,degrees_freedom,tails)
=TEXT(value,format_text)
=TIME(hour,minute,second)
=TIMEVALUE(time_text)
=TINV(probability,degrees_freedom)
=TODAY()
=TRANSPOSE(array)
=TREND(known_y's,known_x's,new_x's,const)
=TRIM(text)
=TRIMMEAN(array,percent)
=TRUE()
=TRUNC(number,num_digits)
=TTEST(array1,array2,tails,type)
=TYPE(value)
=UPPER(text)
=VALUE(text)
=VAR(number1,number2,...)
=VARA(value1,value2,...)
=VARP(number1,number2,...)
=VARPA(value1,value2,...)
=VDB(cost,salvage,life,start_period,end_period,
factor,no_switch)
=VLOOKUP(lookup_value,table_array,
col_index_num,range_lookup)
=WEEKDAY(serial_number,return_type)
=WEEKNUM(serial_num,return_type)
=WEIBULL(x,alpha,beta,cumulative)
=WORKDAY(start_date,days,holidays)
=XIRR(values,dates,guess)
=XNPV(rate,values,dates)
=YEAR(serial_number)
=YEARFRAC(start_date,end_date,basis)
=YEN(number,decimals)
=YIELD(settlement,maturity,rate,pr,redemption,
frequency,basis)
=YIELDDISC(settlement,maturity,pr,redemption,
basis)
=YIELDMAT(settlement,maturity,issue,rate,pr,
basis)
=ZTEST(array,x,sigma)
Notes: * See also COUNT, COUNTA and FREQUENCY (Statistical) and COUNTIF (Maths) and COUNTBLANK (Information)
Argument Description
Database The range of cells that makes up the list or database
Field Indicates which column is used in the function as text in inverted commas or as number of field
Criteria The range of cells that contains the conditions you specify
base Functions
Syntax
=DAVERAGE(database,field,criteria)
=DCOUNT(database,field,criteria)
=DCOUNTA(database,field,criteria)
=DGET(database,field,criteria)
=DMAX(database,field,criteria)
=DMIN(database,field,criteria)
=DPRODUCT(database,field,criteria)
=DSTDEV(database,field,criteria)
=DSTDEVP(database,field,criteria)
=DSUM(database,field,criteria)
=DVAR(database,field,criteria)
=DVARP(database,field,criteria)
Function Arguments
EOMONTH Analysis ToolPak Returns the Excel date / time serial number of
the last day of the month before or after a
specified number of months from start_date
WORKDAY Analysis ToolPak Returns the Excel date / time serial number of
the date before or after a specified number of
workdays excluding holidays
YEAR Built In Converts an Excel date / time serial number to
a year
Notes: * See Appendix 2. DATEDIF really does exist! It is an Excel built in function. It doesn't appear in the listings in the function wizard
and the only documentation reference is in the Help files for Excel 2000.
Argument Description
Basis The type of day count basis to use: 0 or omitted = US(NASD) 30/360
(For Securities Functions) 1 = Actual / Actual 2 = Actual / 360
3 = Actual / 365 4 = European 30/360
Date_text A date enclosed in quotation marks that is in a date text form acceptable to Excel. Note that acceptable date
forms vary with system and Excel settings.
Day A number representing the day of the month. If day is greater than the number of days in the month specified,
day aggregates the month and year arguments appropriately and day represents the balance after this
aggregation
Days The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a
future date; a negative value yields a past date
End_date The last date as an acceptable date in inverted commas or as a serial number
Holidays An optional range of one or more dates to exclude from the working calendar. The list can be either a range
of cells that contains the dates or an array constant of the serial numbers that represent the dates
Hour A number from 0 to 32767 representing the hour. Any value greater than 23 will be divided by 24 and the
remainder will be treated as the hour value
Method FALSE or omitted = US (NASD) 30/360 method; TRUE = European 30/360 method
Minute A number from 0 to 32767 representing the minute. Any value greater than 59 will be converted to hours and
minutes
Month A number representing the month of the year. If month is greater than 12, month adds that number of months
(For DATE function) to the first month in the year specified
Return_type A number that determines the type of return value: 1 (or omitted) 1 = Sunday; 2 = 1 = Monday; 3 = 0 =
(WEEKDAY only) Monday
Return_type A number that determines on which day the week begins; 1 (or omitted) = starts Sunday nums 1 to 7; 2 =
(WEEKNUM only) starts Monday nums 1 to 7
Second A number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours,
minutes, and seconds
Serial_num A date / time serial number. Dates should be entered by using the DATE function, or as results of other
formulas or functions
Serial_Number An Excel date / time serial number. Dates should be entered by using the DATE function, or as results of
other formulas or functions. The Excel date serial number varies according to setting of 1900 or 1904 date
system in Tools > Options > Calculation.
Start_date The first date as an acceptable date in inverted commas or as a serial number
Time_text A text string enclosed in quotation marks that represents a time in any one of the Excel time formats
Unit "y" = years; "m" = months; "d" = days; "md" = days ignoring months and years; "ym" = years and months; "yd"
= years and days
Syntax
=DATE(year,month,day)
=DATEDIF(start_date,end_date,unit)
=DATEVALUE(date_text)
=DAY(serial_number)
=DAYS360(start_date,end_date,method)
=EDATE(start_date,months)
=EOMONTH(start_date,months)
=HOUR(serial_number)
=MINUTE(serial_number)
=MONTH(serial_number)
=NETWORKDAYS(start_date,end_date,holidays)
=NOW()
=SECOND(serial_number)
=TIME(hour,minute,second)
=TIMEVALUE(time_text)
=TODAY()
=WEEKDAY(serial_number,return_type)
=WEEKNUM(serial_num,return_type)
=WORKDAY(start_date,days,holidays)
=YEAR(serial_number)
=YEARFRAC(start_date,end_date,basis)
n Excel built in function. It doesn't appear in the listings in the function wizard
files for Excel 2000.
me Function Arguments
rks that is in a date text form acceptable to Excel. Note that acceptable date
el settings.
of the month. If day is greater than the number of days in the month specified,
ear arguments appropriately and day represents the balance after this
nonholiday days before or after start_date. A positive value for days yields a
ds a past date
e dates to exclude from the working calendar. The list can be either a range
r an array constant of the serial numbers that represent the dates
senting the hour. Any value greater than 23 will be divided by 24 and the
hour value
senting the minute. Any value greater than 59 will be converted to hours and
h of the year. If month is greater than 12, month adds that number of months
cified
after start_date
hich day the week begins; 1 (or omitted) = starts Sunday nums 1 to 7; 2 =
senting the second. Any value greater than 59 will be converted to hours,
on marks that represents a time in any one of the Excel time formats
days; "md" = days ignoring months and years; "ym" = years and months; "yd"
digits
Engineering Functions
Argument Description
From_unit(1) A unit of measurement
From_unit(2) Weight & Mass: "g" = gram; "sg" = slug; "lbm" = pound (avoirdupois); "u" = Atomic mass; "ozm" = ounces
(avoirdupois)
Distance: "m" = meter; "mi" = Statute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
"ang" = Angstrom; "pica" = pica (1/72in)
Time: "yr" = year; "day" = day; "hr" = hour; "mn" = minute; "sec" = second
Pressure: "pa" = Pascal; "atm" = atmosphere; "mmHg" = mm of mercury
Force: "N" = Newton; "dyn" = dyne; "lbf" = pound force
Energy: "J" = Joule; "e" = erg; "c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
"HPh" = horsepower-hour; "Wh" = Watt-hour; "flb" = foot-pound; "BTU" = BTU
Power: "HP" = horsepower; "W" = Watt
Magnetism: "T" = Tesler; "ga" = Gauss
Temperature: "C" = degrees Celsius; "F" = degrees Fahrenheit; "K" = Kelvin
Liquid Measure: "tsp" = teaspoon; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
"pt" = US Pint; "UK_pt" = UK pint; "qt" = quart; "gal" = gallon; "l" = liter
From_unit(3) Prefix Abbreviations for metric: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
giga; "M" = 1E+06 = mega; "k" = 1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
"c"=1E-02 = centi; "m" = 1E-03 = milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
15 = femto; "a" = 1E-18 = atto
Number2,… Second of up to 30 numbers. You can also use a single array or a reference to an array instead of arguments
separated by commas
Places The number of characters to use. If places is omitted, Excel uses the minimum number of characters
necessary
Step The threshold value. If you omit a value for step, GESTEP uses zero
Suffix The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i"
To_unit(3) Prefix Abbreviations for metric: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
giga; "M" = 1E+06 = mega; "k" = 1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
"c"=1E-02 = centi; "m" = 1E-03 = milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
15 = femto; "a" = 1E-18 = atto
Upper_limit The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit
Syntax
=BESSELI(x,n)
=BESSELJ(x,n)
=BESSELK(x,n)
=BESSELY(x,n)
=BIN2DEC(Number)
=BIN2HEX(Number,Places)
=BIN2OCT(Number,Places)
=COMPLEX(real_num,i_num,suffix)
=CONVERT(number,from_unit,to_unit)
=DEC2BIN(Number)
=DEC2HEX(Number)
=DEC2OCT(Number)
=DELTA(number1,number2)
=ERF(lower_limit,upper_limit)
=ERFC(x)
=GESTEP(number,step)
=HEX2BIN(Number,Places)
=HEX2DEC(Number)
=HEX2OCT(Number,Places)
=IMABS(inumber)
=IMAGINARY(inumber)
=IMARGUMENT(inumber)
=IMCONJUGATE(inumber)
=IMCOS(inumber)
=IMDIV(inumber1,inumber2)
=IMEXP(inumber)
=IMLN(inumber)
=IMLOG10(inumber)
=IMLOG2(inumber)
=IMPOWER(inumber,number)
=IMPRODUCT(inumber1,inumber2,...)
=IMREAL(inumber)
=IMSIN(inumber)
=IMSQRT(inumber)
=IMSUB(inumber1,inumber2)
=IMSUM(inumber1,inumber2,...)
=OCT2BIN(number,places)
=OCT2DEC(number)
=OCT2HEX(number,places)
g Function Arguments
" = slug; "lbm" = pound (avoirdupois); "u" = Atomic mass; "ozm" = ounces
atute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
(1/72in)
hr" = hour; "mn" = minute; "sec" = second
= atmosphere; "mmHg" = mm of mercury
ne; "lbf" = pound force
c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
= Watt-hour; "flb" = foot-pound; "BTU" = BTU
= Watt
Gauss
lsius; "F" = degrees Fahrenheit; "K" = Kelvin
on; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
t; "qt" = quart; "gal" = gallon; "l" = liter
c: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
= milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
ex number
mbers
ERF
aluates to a number
ex number
atute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
(1/72in)
hr" = hour; "mn" = minute; "sec" = second
= atmosphere; "mmHg" = mm of mercury
ne; "lbf" = pound force
c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
= Watt-hour; "flb" = foot-pound; "BTU" = BTU
= Watt
Gauss
lsius; "F" = degrees Fahrenheit; "K" = Kelvin
on; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
t; "qt" = quart; "gal" = gallon; "l" = liter
c: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
= milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
he function
External Functions
Argument Description
Argument1,… The arguments to be passed to the procedure
Col_names_logical Indicates whether column names are returned as the first row of the results. TRUE if the column names to be
returned as the first row of the results. FALSE if column names not wanted. If column_names_logical is
omitted, SQL.REQUEST does not return column names
Connection_string Supplies information, such as the data source name, user ID, and passwords, required by the driver being
used to connect to a data source and must follow the driver's format
Data_field The name, enclosed in quotation marks, for the data field that contains the data
Driver_prompt Specifies when the driver dialog box is displayed and which options are available
Field1, Item1 One of up to 14 pairs of field names and item names that describe the data
Field2, Item2,… Second of up to 14 pairs of field names and item names that describe the data
File_text The name of the file that contains the code resource in Microsoft Excel for the Macintosh
Item1 One of up to 14 pairs of field names and item names that describe the data
Item2,… Second of up to 14 pairs of field names and item names that describe the data
Module_text Quoted text specifying the name of the dynamic link library (DLL) that contains the procedure in Microsoft
Excel for Windows
Output_ref A cell reference where you want the completed connection string placed
Pivot_table A reference to any cell, range of cells, or named range of cells in a PivotTable report
Procedure Text specifying the name of the function in the DLL. You can also use the ordinal value of the function from
the EXPORTS statement in the module-definition file (.DEF).
Query_text The SQL statement that you want to execute on the data source
Resource The name of the code resource in Microsoft Excel for the Macintosh. You can also use the resource ID
number. The resource ID number must not be in the form of text
Source A three-letter string, or reference to a cell containing the string, corresponding to the ISO code for the source
currency:
Belgium - franc - BEF Luxembourg - franc - LUF Germany - deutche mark - DEM
Spain - peseta - ESP France - franc - FRF Ireland - pound - IEP Italy - lira - ITL
Netherlands - guilder - NLG Austria - schilling - ATS Portugal - escudo - PTE
Finland - markka -FIM Euro member states - euro - EUR
Others may be added later:
Denmark - krone - DKK Greece - drachma - GRD Sweden - krona - SEK
UK - pound sterling - GBP
Target A three-letter string, or reference to a cell containing the string, corresponding to the ISO code for the source
currency
Belgium - franc - BEF Luxembourg - franc - LUF Germany - deutche mark - DEM
Spain - peseta - ESP France - franc - FRF Ireland - pound - IEP Italy - lira - ITL
Netherlands - guilder - NLG Austria - schilling - ATS Portugal - escudo - PTE
Finland - markka -FIM Euro member states - euro - EUR
Others may be added later:
Denmark - krone - DKK Greece - drachma - GRD Sweden - krona - SEK
UK - pound sterling - GBP
Type_text (CALL function) Text specifying the data type of the return value and the data types of all arguments to the DLL or code
resource
ernal Functions
Syntax
=CALL(register_id,argument1,...) With Register.id
=CALL(module_text,procedure,type_text,
argument1,...) Excel for Windows
=CALL(file_text,resource,type_text,
argument1,...) Excel for Macintosh
=EUROCONVERT(number,source,target,
full_precision,triangulation_precision)
=GETPIVOTDATA(data_field,pivot_table,field1,item1,
field2,item2,...)
=REGISTER.ID(module_text,procedure,type_text)
=SQL.REQUEST(connection_string,output_ref,
driver_prompt,query_text,col_names_logical)
Function Arguments
he procedure
s are returned as the first row of the results. TRUE if the column names to be
esults. FALSE if column names not wanted. If column_names_logical is
ot return column names
e data source name, user ID, and passwords, required by the driver being
e and must follow the driver's format
of the dynamic link library (DLL) that contains the procedure in Microsoft
aluates to a number
function in the DLL. You can also use the ordinal value of the function from
module-definition file (.DEF).
n Microsoft Excel for the Macintosh. You can also use the resource ID
er must not be in the form of text
e to a cell containing the string, corresponding to the ISO code for the source
e to a cell containing the string, corresponding to the ISO code for the source
he return value and the data types of all arguments to the DLL or code
Financial Functions
ACCRINTM Analysis ToolPak Returns the accrued interest for a security that
pays interest at maturity
COUPDAYBS Analysis ToolPak Returns the number of days from the beginning
of the coupon period to the settlement date
using the specified or default day counting
basis
COUPNCD Analysis ToolPak Returns the next coupon date after the
settlement date using the specified or default
day counting basis
COUPPCD Analysis ToolPak Returns the previous coupon date before the
settlement date using the specified or default
day counting basis
DISC Analysis ToolPak Returns the discount rate for a security using
the specified or default day counting basis
DOLLARDE Analysis ToolPak Converts a dollar price (expressed as a
fraction) into a dollar price expressed as a
decimal number
INTRATE Analysis ToolPak Returns the interest rate for a fully invested
security using the specified or default day
counting basis
ODDFPRICE Analysis ToolPak Returns the price per $100 face value of a
security with an odd first period using the
specified or default day counting basis
ODDFYIELD Analysis ToolPak Returns the yield of a security with an odd first
period using the specified or default day
counting basis
ODDLPRICE Analysis ToolPak Returns the price per $100 face value of a
security with an odd last period using the
specified or default day counting basis
ODDLYIELD Analysis ToolPak Returns the yield of a security with an odd last
period using the specified or default day
counting basis
PRICE Analysis ToolPak Returns the price per $100 face value of a
security that pays periodic interest using the
specified or default day counting basis
PRICEDISC Analysis ToolPak Returns the price per $100 face value of a
discounted security using the specified or
default day counting basis
PRICEMAT Analysis ToolPak Returns the price per $100 face value of a
security that pays interest at maturity using the
specified or default day counting basis
TBILLPRICE Analysis ToolPak Returns the price per $100 face value for a
Treasury bill
XIRR Analysis ToolPak Returns the annual effective interest rate for a
schedule of cash flows received at specified
dates
XNPV Analysis ToolPak Returns the net present value for a schedule of
cash flows received at specified dates
YIELD Analysis ToolPak Returns the yield on a security that pays
periodic interest using the specified or default
day counting basis
YIELDMAT Analysis ToolPak Returns the annual yield of a security that pays
interest at maturity using the specified or
default day counting basis
Argument Description
Basis Year basis to be used: 0 or omitted 360 (NASD); 1 = Actual; 2 = 365; 3 = 360 (European)
(For Securities Functions)
Date_purchased Date of purchase of the asset. Entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
Dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates
the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in
any order
Factor The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining
balance method)
Finance_rate The interest rate you pay on the money used in the cash flows
First_Interest A security's first interest date entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
First_period Date of the end of the first period. Entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
FV Future Value
Guess A number that you guess is close to the result of IRR
Issue A security's issue date entered as an acceptable date in quotation marks or as a serial number or function
returning a date serial number
Life The number of periods over which the asset is being depreciated (sometimes called the useful life of the
asset)
Month (For DB function) The number of months in the first year. If month is omitted, it is assumed to be 12
No_switch A logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the
declining balance calculation.If TRUE, Excel does not switch to straight-line depreciation even when the
depreciation is greater than the declining balance calculation. FALSE or omitted, Excel switches to straight-
line depreciation when depreciation is greater than the declining balance calculation
Reinvest_rate The interest rate you receive on the cash flows as you reinvest them
Settlement A security's settlement date, which is the date after the issue date when the security is traded to the buyer.
Entered as an acceptable date in quotation marks or as a serial number or function returning a date serial
number
Value2,… Second of 1 to n possible values (n=30 for AVERAGEA; n=29 for CHOOSE, NPV)
Values (IRR and MIRR) An array or a reference to cells that contain numbers for which you want to calculate the internal rate of
return. Values must contain at least one positive value and one negative value to calculate the internal rate of
return. If an array or reference argument contains text, logical values, or empty cells, those values are
ignored.
Values (XIRR and XNPV) A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and
corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or
payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The
series of values must contain at least one positive value and one negative value
Syntax
=ACCRINT(Issue,First_Interest,Settlement,Rate,
Par,Frequency,Basis)
=ACCRINTM(Issue,Settlement,Rate,Par,Basis)
=AMORDEGRC(Cost,Date_purchased,First_period,
Salvage,Period,Rate,Basis)
=AMORLINC(Cost,Date_purchased,First_period,
Salvage,Period,Rate,Basis)
=COUPDAYBS(settlement,maturity,
frequency,basis)
=COUPDAYS(settlement,maturity,
frequency,basis)
=COUPDAYSNC(settlement,maturity,
frequency,basis)
=COUPNCD(settlement,maturity,frequency,basis)
=COUPNUM(settlement,maturity,frequency,basis)
=COUPPCD(settlement,maturity,frequency,basis)
=CUMIPMT(rate,nper,pv,start_period,end_period,
type)
=CUMPRINC(rate,nper,pv,start_period,end_period,
type)
=DB(cost,salvage,life,period,month)
=DDB(cost,salvage,life,period,factor)
=DISC(settlement,maturity,pr,redemption,basis)
=DOLLARDE(fractional_dollar,fraction)
=DOLLARFR(decimal_dollar,fraction)
=DURATION(settlement,maturity,coupon,yld,
frequency,basis)
=EFFECT(nominal_rate,npery)
=FV(rate,nper,pmt,pv,type)
=FVSCHEDULE(principal,schedule)
=INTRATE(settlement,maturity,investment,
redemption,basis)
=IPMT(rate,per,nper,pv,fv,type)
=IRR(values,guess)
=ISPMT(rate,per,nper,pv)
=MDURATION(settlement,maturity,coupon,yld,
frequency,basis)
=MIRR(values,finance_rate,reinvest_rate)
=NOMINAL(effect_rate,npery)
=NPV(rate,value1,value2, ...)
=ODDFPRICE(settlement,maturity,issue,
first_coupon,rate,yld,redemption,
frequency,basis)
=ODDFYIELD(settlement,maturity,issue,
first_coupon,rate,pr,redemption,
frequency,basis)
=ODDLPRICE(settlement,maturity,last_interest,
rate,yld,redemption,frequency,basis)
=ODDLYIELD(settlement,maturity,last_interest,
rate,pr,redemption,frequency,basis)
=PMT(rate,nper,pv,fv,type)
=PPMT(rate,per,nper,pv,fv,type)
=PRICE(settlement,maturity,rate,yld,redemption,
frequency,basis)
=PRICEDISC(settlement,maturity,discount,
redemption,basis)
=PRICEMAT(settlement,maturity,issue,rate,
yld,basis)
=PV(rate,nper,pmt,fv,type)
=RATE(nper,pmt,pv,fv,type,guess)
=RECEIVED(settlement,maturity,investment,
discount,basis)
=SLN(cost,salvage,life)
=SYD(cost,salvage,life,per)
=TBILLEQ(settlement,maturity,discount)
=TBILLPRICE(settlement,maturity,discount)
=TBILLYIELD(settlement,maturity,pr)
=VDB(cost,salvage,life,start_period,end_period,
factor,no_switch)
=XIRR(values,dates,guess)
=XNPV(rate,values,dates)
=YIELD(settlement,maturity,rate,pr,redemption,
frequency,basis)
=YIELDDISC(settlement,maturity,pr,redemption,
basis)
=YIELDMAT(settlement,maturity,issue,rate,pr,
basis)
Function Arguments
at corresponds to the cash flow payments. The first payment date indicates
payments. All other dates must be later than this date, but they may occur in
urity
ch the asset is being depreciated (sometimes called the useful life of the
$1,000)
eriod
e value
ch is the date after the issue date when the security is traded to the buyer.
n quotation marks or as a serial number or function returning a date serial
ment in advance
hat contain numbers for which you want to calculate the internal rate of
ast one positive value and one negative value to calculate the internal rate of
rgument contains text, logical values, or empty cells, those values are
Notes: * See also COUNT, COUNTA and FREQUENCY (Statistical) and COUNTIF (Maths) and DCOUNT and DCOUNTA (Database)
Argument Description
Error_val The error value whose identifying number you want:
1 = #Null!; 2 = #Div/0!; 3 = #Value!; 4 = #Ref!; 5 = #Name?;
6 = #N/A
Info_type A text value that specifies what type of cell information you want:
"Address" = first cell in reference
"Col" = First column number in reference
"Color" Returns 1 for negative colored, 0 otherwise
"Contents" = Value of upper left cell in reference
"Format" = Text value corresponding to number format
"Prentheses" = Returns 1 for parenthese for positive or all values, 0 otherwise
"Prefix" = Text value corresponding to label prefix
"Protect" = returns 0 if unlucked, 1 if locked
"Row" = First row number in reference
"Type" = Text value for type of data; b for blank, l for label, v for value
"Width" = Column width rounded to nearest integer
Reference Reference to a cell or range of cells and can refer to multiple areas. If you want to specify several references
as a single argument, then you must include extra sets of parentheses so that Microsoft Excel will not
interpret the comma as a field separator
Type_text (INFO function) Text that specifies what type of information you want returned:
"directory" = Path of current directory of folder;
"memavail" = Amount of currently available memory in bytes;
"memused" = Amount of memory being used for data;
"numfile" = number of active worksheets in open workbooks;
"origin" = cell reference of top leftmost cell visible in window, based on current scrolling position;
"osversion" = current operating system version, as text;
"recalc" = current recalculation mode;
"release" = version of Excel;
"system" = name of the operating environment (Mac or pcdos);
"totmem" = total memory available
Syntax
=CELL(info_type,reference)
=COUNTBLANK(range)
=ERROR.TYPE(error_val)
=INFO(type_text)
=ISBLANK(Value)
=ISERR(Value)
=ISERROR(Value)
=ISEVEN(Number)
=ISLOGICAL(Value)
=ISNA(Value)
=ISNONTEXT(Value)
=ISNUMBER(Value)
=ISODD(Number)
=ISREF(Value)
=ISTEXT(Value)
=N(Value)
=NA()
=TYPE(Value)
n Function Arguments
aluates to a number
ells and can refer to multiple areas. If you want to specify several references
must include extra sets of parentheses so that Microsoft Excel will not
eparator
aluates to a value:
Logical Functions
Argument Description
Logical A value or expression that can be evaluated to TRUE or FALSE
Logical1 Condition to be tested. Argument must evaluate to a logical value or be arrays or references that contain
logical values
Logical2,… Second of up to 30 conditions you want to test that can be either TRUE or FALSE
Syntax
=AND(Logical1,Logical2,…)
=FALSE()
=IF(logical_test,value_if_true,value_if_false)
=NOT(Logical)
=OR(logical1,logical2,...)
=TRUE()
Function Arguments
cal_test is FALSE
cal_test is TRUE
Lookup & Reference Functions
Argument Description
A1 A logical value that specifies the A1 (TRUE) or R1C1 (FALSE) reference style
Area_num Selects a range in reference from which to return the intersection of row_num and column_num
Col_index_num The column number in table_array from which the matching value must be returned
Cols The number of columns, to the left (-) or right (+), that you want the upper-left cell of the result to refer to
Friendly_name The jump text or numeric value that is displayed in the cell
Height The height, in number of rows, that you want the returned reference to be. Height must be a positive number
Index_num Specifies which value argument is selected. Index_num must be a number between 1 and 29, or a formula or
reference to a cell containing a number between 1 and 29
Link_location The path and file name to the document to be opened as text
Lookup_array A contiguous range of cells containing possible lookup values. Lookup_array must be an array or an array
reference
Lookup_vector A range that contains only one row or one column. The values in lookup_vector can be text, numbers, or
logical values
Match_type The number -1, 0, or 1. Match_type specifies how Microsoft Excel matches lookup_value with values in
lookup_array:
1 = (default) largest value less than or equal to look_up value; 0 = first value to exactly equal lookup value
-1 = smallest value greater than or equal to look_value
ProgID The name of the ProgID of a registered COM automation add-in that has been installed on the local
computer. Enclose the name in quotation marks
Range_lookup A logical value that specifies whether you want to find an exact match or an approximate match. If TRUE =
approximate match is returned FALSE = Exact
Reference Reference to a cell or range of cells and can refer to multiple areas. If you want to specify several references
as a single argument, then you must include extra sets of parentheses so that Microsoft Excel will not
interpret the comma as a field separator
Result_vector A range that contains only one row or column. It must be the same size as lookup_vector
Row_index_num The row number in table_array from which the matching value will be returned
Row_num Row number
Rows The number of rows, up (-) or down (+), that you want the upper-left cell to refer to
Server Name of the server where the add-in should be run. If there is no server, and the program is run locally, leave
the argument blank. Otherwise, enter quotation marks ("") around the server name
Sheet_text Text specifying the name of the worksheet to be used as the external reference. If sheet_text is omitted, no
sheet name is used
Topic1 First of up to 28 parameters that together represent a unique piece of real-time data
Topic2,… Second of up to 28 parameters that together represent a unique piece of real-time data
Value2,… Second of 1 to n possible values (n=30 for AVERAGEA; n=29 for CHOOSE, NPV)
Width The width, in number of columns, that you want the returned reference to be. Width must be a positive
number
Reference Functions
Syntax
=ADDRESS(Row_num,Column_num,Abs_num,
A1,Sheet_text)
=AREAS(reference)
=CHOOSE(index_num,value1,value2,...)
=COLUMN(reference)
=COLUMNS(array)
=HLOOKUP(lookup_value,table_array,
row_index_num,range_lookup)
=HYPERLINK(link_location,friendly_name)
=INDEX(array,row_num,column_num)
=INDEX(reference,row_num,column_num,
area_num)
=INDIRECT(ref_text,a1)
=LOOKUP(lookup_value,lookup_vector,
result_vector)
=LOOKUP(lookup_value,array)
=MATCH(lookup_value,lookup_array,
match_type)
=OFFSET(reference,rows,cols,height,width)
=ROW(reference)
=ROWS(array)
=RTD(ProgID,server,topic1,[topic2],...)
=TRANSPOSE(array)
=VLOOKUP(lookup_value,table_array,
col_index_num,range_lookup)
rence Function Arguments
eft (-) or right (+), that you want the upper-left cell of the result to refer to
hat you want the returned reference to be. Height must be a positive number
han or equal to look_up value; 0 = first value to exactly equal lookup value
or equal to look_value
istered COM automation add-in that has been installed on the local
quotation marks
external reference),
ells and can refer to multiple areas. If you want to specify several references
must include extra sets of parentheses so that Microsoft Excel will not
eparator
dd-in should be run. If there is no server, and the program is run locally, leave
enter quotation marks ("") around the server name
ata is looked up
s, that you want the returned reference to be. Width must be a positive
Maths Functions
Notes: * See also COUNT, COUNTA and FREQUENCY (Statistical) and COUNTBLANK (Information) and DCOUNT and DCOUNTA
(Database)
** The Excel MOD function uses a different definition of MOD to that used by VBA Mod function insofar as negative numbers are
concerned.
++
See also PERMUT function (Statistical)
Argument Description
Angle The angle in radians
Coefficients A set of coefficients by which each successive power of x is multiplied. The number of values in coefficients
determines the number of terms in the power series
Criteria The range of cells that contains the conditions you specify
Form A number specifying the type of roman numeral you want; 0 (Default) = Classic; 1-4 Progressively simplified;
TRUE = Classic; FALSE = Most Simplified
Function_num The number 1 to 11 that specifies which function to use in calculating subtotals within a list: 1 = AVERAGE; 2
= COUNT; 3 = COUNTA; 4 = MAX; 5 = MIN; 6 = PRODUCT; 7 = STDEV; 8 = STDEVP; 9 = SUM; 10 = VAR;
11 = VARP
Num_digits Specifies the number of digits to which you want to round number: 0 = Integer; -numbers = to left of decimal;
+numbers = to right of decimal
Number2,… Second of up to 30 numbers. You can also use a single array or a reference to an array instead of arguments
separated by commas
Range A range
Ref1 First of up to 29 ranges or references for which you want the subtotal
Ref2,… Second of up to 29 ranges or references for which you want the subtotal
Syntax
=ABS(Number)
=ACOS(Number)
=ACOSH(Number)
=ASIN(Number)
=ASINH(Number)
=ATAN(Number)
=ATAN2(x_num,y_num)
=ATANH(Number)
=CEILING(number,significance)
=COMBIN(number,number_chosen)
=COS(Number)
=COSH(Number)
=COUNTIF(range,criteria)
=DEGREES(angle)
=EVEN(Number)
=EXP(Number)
=FACT(Number)
=FACTDOUBLE(number)
=FLOOR(number,significance)
=GCD(number1,number2, ...)
=INT(Number)
=LCM(number1,number2, ...)
=LN(Number)
=LOG(Number,base)
=LOG10(Number)
=MDETERM(array)
=MINVERSE(array)
=MMULT(array1,array2)
=MOD(number,divisor)
=MROUND(number,multiple)
=MULTINOMIAL(number1,number2, ...)
=ODD(number)
=PI()
=POWER(number,power)
=PRODUCT(number1,number2, ...)
=QUOTIENT(numerator,denominator)
=RADIANS(angle)
=RAND()
=RANDBETWEEN(bottom,top)
=ROMAN(number,form)
=ROUND(number,num_digits)
=ROUNDDOWN(number,num_digits)
=ROUNDUP(number,num_digits)
=SERIESSUM(x,n,m,coefficients)
=SIGN(number)
=SIN(number)
=SINH(number)
=SQRT(number)
=SQRTPI(number)
=SUBTOTAL(function_num,ref1,ref2,...)
=SUM(number1,number2, ...)
=SUMIF(range,criteria,sum_range)
=SUMPRODUCT(array1,array2,array3, ...)
=SUMSQ(number1,number2, ...)
=SUMX2MY2(array_x,array_y)
=SUMX2PY2(array_x,array_y)
=SUMXMY2(array_x,array_y)
=TAN(number)
=TANH(number)
=TRUNC(number,num_digits)
n of MOD to that used by VBA Mod function insofar as negative numbers are
unction Arguments
lues
with SUMPRODUCT)
p to 30 with SUMPRODUCT)
o 30 with SUMPRODUCT)
e is omitted, it is assumed to be 10
ed
o divide number
o round number
aluates to a number
number is raised
o round
d
he function
Statistical Functions
Notes: * See also COUNTIF (Maths) and COUNTBLANK (Information) and DCOUNT and DCOUNTA (Database)
Argument Description
A An optional lower bound to the interval of x
Actual_range The range of data that contains observations to test against expected values
Bins_array An array of or reference to intervals into which you want to group the values
Criteria The range of cells that contains the conditions you specify
Expected_range The range of data that contains the ratio of the product of row totals and column totals to the grand total
New_x's new x-values for which you want GROWTH to return corresponding y-values
Number2,… Second of up to 30 numbers. You can also use a single array or a reference to an array instead of arguments
separated by commas
Order A number specifying how to rank number; 0 or omitted = descending; non-zero = ascending
Percent The fractional number of data points to exclude from the calculation
Quart Indicates which value to return: 0 = minimum value; 1 = 1st Quartile (25th Percentile); 2 = 2nd Quartile; 3 =
3rd Quartile; 4 = Maximum value
Range A range
Ref An array of, or a reference to, a list of numbers
Sigma The population (known) standard deviation. If omitted, the sample standard deviation is used
Stats A logical value specifying whether to return additional regression statistics TRUE returns additional statistics
Tails Specifies the number of distribution tails to return. If tails = 1, TDIST returns the one-tailed distribution. If tails
= 2, TDIST returns the two-tailed distribution
Type (TTEST function) The kind of t-Test to perform; 1 = Paired; 2 = Two-sample equal variance (homoscedastic); 3 = Two-sample
unequal variance (heteroscedastic)
Upper_limit The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit
Value2,… Second of 1 to n possible values (n=30 for AVERAGEA; n=29 for CHOOSE, NPV)
X_range The range of numeric values of x with which there are associated probabilities
Syntax
=AVEDEV(Number1,Number2,…)
=AVERAGE(Number1,Number2,…)
=AVERAGEA(Value1,Value2,…)
=BETADIST(x,alpha,beta,A,B)
=BETAINV(probability,alpha,beta,A,B)
=BINOMDIST(number_s,trials,probability_s,
cumulative)
=CHIDIST(x,degrees_freedom)
=CHIINV(probability,degrees_freedom)
=CHITEST(actual_range,expected_range)
=CONFIDENCE(alpha,standard_dev,size)
=CORREL(array1,array2)
=COUNT(value1,value2, ...)
=COUNTA(value1,value2, ...)
=COVAR(array1,array2)
=CRITBINOM(trials,probability_s,alpha)
=DEVSQ(number1,number2,...)
=EXPONDIST(x,lambda,cumulative)
=FDIST(x,degrees_freedom1,
degrees_freedom2)
=FINV(probability,degrees_freedom1,
degrees_freedom2)
=FISHER(x)
=FISHERINV(y)
=FORECAST(x,known_y's,known_x's)
=FREQUENCY(data_array,bins_array)
=FTEST(array1,array2)
=GAMMADIST(x,alpha,beta,cumulative)
=GAMMAINV(probability,alpha,beta)
=GAMMALN(x)
=GEOMEAN(number1,number2, ...)
=GROWTH(known_y's,known_x's,new_x's,const)
=HARMEAN(number1,number2, ...)
=HYPGEOMDIST(sample_s,number_sample,
population_s,number_population)
=INTERCEPT(known_y's,known_x's)
=KURT(number1,number2, ...)
=LARGE(array,k)
=LINEST(known_y's,known_x's,const,stats)
=LOGEST(known_y's,known_x's,const,stats)
=LOGINV(probability,mean,standard_dev)
=LOGNORMDIST(x,mean,standard_dev)
=MAX(number1,number2,...)
=MAXA(value1,value2,...)
=MEDIAN(number1,number2, ...)
=MIN(number1,number2,...)
=MINA(value1,value2,...)
=MODE(number1,number2,...)
=NEGBINOMDIST(number_f,number_s,
probability_s)
=NORMDIST(x,mean,standard_dev,cumulative)
=NORMINV(probability,mean,standard_dev)
=NORMSDIST(z)
=NORMSINV(probability)
=PEARSON(array1,array2)
=PERCENTILE(array,k)
=PERCENTRANK(array,x,significance)
=PERMUT(number,number_chosen)
=POISSON(x,mean,cumulative)
=PROB(x_range,prob_range,lower_limit,
upper_limit)
=QUARTILE(array,quart)
=RANK(number,ref,order)
=RSQ(known_y's,known_x's)
=SKEW(number1,number2,...)
=SLOPE(known_y's,known_x's)
=SMALL(array,k)
=STANDARDIZE(x,mean,standard_dev)
=STDEV(number1,number2,...)
=STDEVA(value1,value2,...)
=STDEVP(number1,number2,...)
=STDEVPA(value1,value2,...)
=STEYX(known_y's,known_x's)
=TDIST(x,degrees_freedom,tails)
=TINV(probability,degrees_freedom)
=TREND(known_y's,known_x's,new_x's,const)
=TRIMMEAN(array,percent)
=TTEST(array1,array2,tails,type)
=VAR(number1,number2,...)
=VARA(value1,value2,...)
=VARP(number1,number2,...)
=VARPA(value1,value2,...)
=WEIBULL(x,alpha,beta,cumulative)
=ZTEST(array,x,sigma)
Function Arguments
nterval of x
nterval of y
of values
om
om
edom
he ratio of the product of row totals and column totals to the grand total
of data
data
ERF
population
distribution
ch trial
sample
o round
ion tails to return. If tails = 1, TDIST returns the one-tailed distribution. If tails
d distribution
he function
e distribution
Text Functions
Name Source Description
ASC Built In Changes full-width (double-byte) English
letters or katakana within a character string to
half-width (single-byte) characters
SEARCH Built In Finds one text value within another (not case
sensitive) and returns the number of the
starting position
SUBSTITUTE Built In Substitutes new text for old text in a text string
Argument Description
Decimals The number of digits to the right of the decimal point. If decimals is negative, number is rounded to the left of
the decimal point. If you omit decimals, it is assumed to be 2
Format_text A number format in text form from in the Category box on the Number tab in the Format Cells dialog box
Instance_num Specifies which occurrence of old_text you want to replace with new_text. If you specify instance_num, only
that instance of old_text is replaced. Otherwise, every occurrence of old_text in text is changed to new_text
New_text The text that will replace characters in old_text
No_commas A logical value that, if TRUE, prevents FIXED from including commas in the returned text
Reference Reference to a cell or range of cells and can refer to multiple areas. If you want to specify several references
as a single argument, then you must include extra sets of parentheses so that Microsoft Excel will not
interpret the comma as a field separator
Text Text or a reference to a cell that contains the text you want to change
=BAHTTEXT(number)
=CHAR(Number)
=CLEAN(text)
=CODE(text)
=CONCATENATE (text1,text2,...)
=DOLLAR(number,decimals)
=EXACT(text1,text2)
=FIND(find_text,within_text,start_num)
=FINDB(find_text,within_text,start_num)
=FIXED(number,decimals,no_commas)
=JIS(text)
=LEFT(text,num_chars)
=LEFTB(text,num_bytes)
=LEN(text)
=LENB(text)
=LOWER(text)
=MID(text,start_num,num_chars)
=MIDB(text,start_num,num_bytes)
=PHONETIC(reference)
=PROPER(text)
=REPLACE(old_text,start_num,num_chars,
new_text)
=REPLACEB(old_text,start_num,num_bytes,
new_text)
=REPT(text,number_times)
=RIGHT(text,num_chars)
=RIGHTB(text,num_bytes)
=SEARCH(find_text,within_text,start_num)
=SEARCHB(find_text,within_text,start_num)
=SUBSTITUTE(text,old_text,new_text,
instance_num)
=T(value)
=TEXT(value,format_text)
=TRIM(text)
=UPPER(text)
=VALUE(text)
=YEN(number,decimals)
unction Arguments
m in the Category box on the Number tab in the Format Cells dialog box
d_text you want to replace with new_text. If you specify instance_num, only
ced. Otherwise, every occurrence of old_text in text is changed to new_text
ers in old_text
o extract
ant to extract
aluates to a number
e some characters
ells and can refer to multiple areas. If you want to specify several references
must include extra sets of parentheses so that Microsoft Excel will not
eparator
he search
aluates to a value
want to find
COMPLETE LIST OF FUNCTION ARGUMENTS
Argument Description
A An optional lower bound to the interval of x
A1 A logical value that specifies the A1 (TRUE) or R1C1 (FALSE) reference style
Actual_range The range of data that contains observations to test against expected values
Area_num Selects a range in reference from which to return the intersection of row_num and column_num
Basis The type of day count basis to use: 0 or omitted = US(NASD) 30/360
(For Securities Functions) 1 = Actual / Actual; 2 = Actual / 360; 3 = Actual / 365; 4 = European 30/360
Bins_array An array of or reference to intervals into which you want to group the values
Col_index_num The column number in table_array from which the matching value must be returned
Col_names_logical Indicates whether column names are returned as the first row of the results. TRUE if the column names to be
returned as the first row of the results. FALSE if column names not wanted. If column_names_logical is
omitted, SQL.REQUEST does not return column names
Cols The number of columns, to the left (-) or right (+), that you want the upper-left cell of the result to refer to
Connection_string Supplies information, such as the data source name, user ID, and passwords, required by the driver being
used to connect to a data source and must follow the driver's format
Criteria The range of cells that contains the conditions you specify
Data_field The name, enclosed in quotation marks, for the data field that contains the data
Date_purchased Date of purchase of the asset. Entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
Date_text A date enclosed in quotation marks that is in a date text form acceptable to Excel. Note that acceptable date
forms vary with system and Excel settings.
Dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates
the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in
any order
Day A number representing the day of the month. If day is greater than the number of days in the month specified,
day aggregates the month and year arguments appropriately and day represents the balance after this
aggregation
Days The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a
future date; a negative value yields a past date
Decimals The number of digits to the right of the decimal point. If decimals is negative, number is rounded to the left of
the decimal point. If you omit decimals, it is assumed to be 2
Driver_prompt Specifies when the driver dialog box is displayed and which options are available
End_Date The last date as an acceptable date in inverted commas or as a serial number
Expected_range The range of data that contains the ratio of the product of row totals and column totals to the grand total
Factor The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining
balance method)
Field Indicates which column is used in the function as text in inverted commas or as number of field
Field1, Item1 One of up to 14 pairs of field names and item names that describe the data
Field2, Item2,… Second of up to 14 pairs of field names and item names that describe the data
File_text The name of the file that contains the code resource in Microsoft Excel for the Macintosh
Finance_rate The interest rate you pay on the money used in the cash flows
First_Interest A security's first interest date entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
First_Period Date of the end of the first period. Entered as an acceptable date in quotation marks or as a serial number or
function returning a date serial number
Form A number specifying the type of roman numeral you want; 0 (Default) = Classic; 1-4 Progressively simplified;
TRUE = Classic; FALSE = Most Simplified
Format_text A number format in text form from in the Category box on the Number tab in the Format Cells dialog box
Friendly_name The jump text or numeric value that is displayed in the cell
From_unit(3) Prefix Abbreviations for metric: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
giga; "M" = 1E+06 = mega; "k" = 1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
"c"=1E-02 = centi; "m" = 1E-03 = milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
15 = femto; "a" = 1E-18 = atto
Full_precision A logical value; FALSE = currency specific rounding rules, TRUE = full precision
Function_num The number 1 to 11 that specifies which function to use in calculating subtotals within a list:
1 = AVERAGE; 2 = COUNT; 3 = COUNTA; 4 = MAX; 5 = MIN; 6 = PRODUCT; 7 = STDEV; 8 = STDEVP; 9
= SUM; 10 = VAR; 11 = VARP
FV Future Value
Height The height, in number of rows, that you want the returned reference to be. Height must be a positive number
Holidays An optional range of one or more dates to exclude from the working calendar. The list can be either a range
of cells that contains the dates or an array constant of the serial numbers that represent the dates
Hour A number from 0 to 32767 representing the hour. Any value greater than 23 will be divided by 24 and the
remainder will be treated as the hour value
Index_num Specifies which value argument is selected. Index_num must be a number between 1 and 29, or a formula or
reference to a cell containing a number between 1 and 29
Info_type A text value that specifies what type of cell information you want:
"Address" = first cell in reference
"Col" = First column number in reference
"Color" Returns 1 for negative colored, 0 otherwise
"Contents" = Value of upper left cell in reference
"Format" = Text value corresponding to number format
"Prentheses" = Returns 1 for parenthese for positive or all values, 0 otherwise
"Prefix" = Text value corresponding to label prefix
"Protect" = returns 0 if unlucked, 1 if locked
"Row" = First row number in reference
"Type" = Text value for type of data; b for blank, l for label, v for value
"Width" = Column width rounded to nearest integer
Instance_num Specifies which occurrence of old_text you want to replace with new_text. If you specify instance_num, only
that instance of old_text is replaced. Otherwise, every occurrence of old_text in text is changed to new_text
Inumber A complex number
Issue A security's issue date entered as an acceptable date in quotation marks or as a serial number or function
returning a date serial number
Item1 One of up to 14 pairs of field names and item names that describe the data
Item2,… Second of up to 14 pairs of field names and item names that describe the data
Life The number of periods over which the asset is being depreciated (sometimes called the useful life of the
asset)
Link_location The path and file name to the document to be opened as text
Logical1 Condition to be tested. Argument must evaluate to a logical value or be arrays or references that contain
logical values
Logical2,… Second of up to 30 conditions you want to test that can be either TRUE or FALSE
Lookup_array A contiguous range of cells containing possible lookup values. Lookup_array must be an array or an array
reference
Lookup_vector A range that contains only one row or one column. The values in lookup_vector can be text, numbers, or
logical values
Match_type The number -1, 0, or 1. Match_type specifies how Microsoft Excel matches lookup_value with values in
lookup_array:
1 = (default) largest value less than or equal to look_up value
Maturity The
0 security's
= first maturity
value to exactlydate
equal lookup value
-1 = smallest value greater than or equal to look_value
Mean The arithmetic mean
Mean (LOGNORMDIST and The mean of ln(x).
LOGINV)
Method FALSE or omitted = US (NASD) 30/360 method; TRUE = European 30/360 method
Minute A number from 0 to 32767 representing the minute. Any value greater than 59 will be converted to hours and
minutes
Module_text Quoted text specifying the name of the dynamic link library (DLL) that contains the procedure in Microsoft
Excel for Windows
Month (For DB function) The number of months in the first year. If month is omitted, it is assumed to be 12
Month (For DATE function) A number representing the month of the year. If month is greater than 12, month adds that number of months
to the first month in the year specified
Month (For DB function) The number of months in the first year. If month is omitted, it is assumed to be 12
New_x's new x-values for which you want GROWTH to return corresponding y-values
No_commas A logical value that, if TRUE, prevents FIXED from including commas in the returned text
No_switch A logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the
declining balance calculation.If TRUE, Excel does not switch to straight-line depreciation even when the
depreciation is greater than the declining balance calculation. FALSE or omitted, Excel switches to straight-
line depreciation when depreciation is greater than the declining balance calculation
Num_digits Specifies the number of digits to which you want to round number: 0 = Integer; -numbers = to left of decimal;
+numbers = to right of decimal
Number2,… Second of up to 30 numbers. You can also use a single array or a reference to an array instead of arguments
separated by commas
Order A number specifying how to rank number; 0 or omitted = descending; non-zero = ascending
Output_ref A cell reference where you want the completed connection string placed
Per The period for which you want to find the interest
Percent The fractional number of data points to exclude from the calculation
Pivot_table A reference to any cell, range of cells, or named range of cells in a PivotTable report
Places The number of characters to use. If places is omitted, Excel uses the minimum number of characters
necessary
Procedure Text specifying the name of the function in the DLL. You can also use the ordinal value of the function from
the EXPORTS statement in the module-definition file (.DEF).
ProgID The name of the ProgID of a registered COM automation add-in that has been installed on the local
computer. Enclose the name in quotation marks
Quart Indicates which value to return: 0 = minimum value; 1 = 1st Quartile (25th Percentile); 2 = 2nd Quartile; 3 =
3rd Quartile; 4 = Maximum value
Query_text The SQL statement that you want to execute on the data source
Range A range
Range_lookup A logical value that specifies whether you want to find an exact match or an approximate match. If TRUE =
approximate match is returned FALSE = Exact
Ref1 First of up to 29 ranges or references for which you want the subtotal
Ref2,… Second of up to 29 ranges or references for which you want the subtotal
Reference Reference to a cell or range of cells and can refer to multiple areas. If you want to specify several references
as a single argument, then you must include extra sets of parentheses so that Microsoft Excel will not
interpret the comma as a field separator
Reinjvest_rate The interest rate you receive on the cash flows as you reinvest them
Resource The name of the code resource in Microsoft Excel for the Macintosh. You can also use the resource ID
number. The resource ID number must not be in the form of text
Result_vector A range that contains only one row or column. It must be the same size as lookup_vector
Return_type A number that determines the type of return value: 1 (or omitted) 1 = Sunday; 2 = 1 = Monday; 3 = 0 =
(WEEKDAY only) Monday
Return_type A number that determines on which day the week begins; 1 (or omitted) = starts Sunday nums 1 to 7; 2 =
(WEEKNUM only) starts Monday nums 1 to 7
Row_index_num The row number in table_array from which the matching value will be returned
Rows The number of rows, up (-) or down (+), that you want the upper-left cell to refer to
Serial_num An Excel date / time serial number. Dates should be entered by using the DATE function, or as results of
other formulas or functions. The Excel date serial number varies according to setting of 1900 or 1904 date
system in Tools > Options > Calculation.
Serial_Number A date / time serial number. Dates should be entered by using the DATE function, or as results of other
formulas or functions
Server Name of the server where the add-in should be run. If there is no server, and the program is run locally, leave
the argument blank. Otherwise, enter quotation marks ("") around the server name
Settlement A security's settlement date, which is the date after the issue date when the security is traded to the buyer.
Entered as an acceptable date in quotation marks or as a serial number or function returning a date serial
number
Sheet_text Text specifying the name of the worksheet to be used as the external reference. If sheet_text is omitted, no
sheet name is used
Sigma The population (known) standard deviation. If omitted, the sample standard deviation is used
Source A three-letter string, or reference to a cell containing the string, corresponding to the ISO code for the source
currency
Belgium - franc - BEF Luxembourg - franc - LUF Germany - deutche mark - DEM
Spain - peseta - ESP France - franc - FRF Ireland - pound - IEP Italy - lira - ITL
Netherlands - guilder - NLG Austria - schilling - ATS Portugal - escudo - PTE
Finland - markka -FIM Euro member states - euro - EUR
Others may be added later:
Denmark - krone - DKK Greece - drachma - GRD Sweden - krona - SEK
UK - pound sterling - GBP
Start_date The first date as an acceptable date in inverted commas or as a serial number
Stats A logical value specifying whether to return additional regression statistics TRUE returns additional statistics
Step The threshold value. If you omit a value for step, GESTEP uses zero
Suffix The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i"
Tails Specifies the number of distribution tails to return. If tails = 1, TDIST returns the one-tailed distribution. If tails
= 2, TDIST returns the two-tailed distribution
Target A three-letter string, or reference to a cell containing the string, corresponding to the ISO code for the source
currency
Belgium - franc - BEF Luxembourg - franc - LUF Germany - deutche mark - DEM
Spain - peseta - ESP France - franc - FRF Ireland - pound - IEP Italy - lira - ITL
Netherlands - guilder - NLG Austria - schilling - ATS Portugal - escudo - PTE
Finland - markka -FIM Euro member states - euro - EUR
Others may be added later:
Denmark - krone - DKK Greece - drachma - GRD Sweden - krona - SEK
UK - pound sterling - GBP
Text Text or a reference to a cell that contains the text you want to change
Time_text A text string enclosed in quotation marks that represents a time in any one of the Excel time formats
To_unit(2) Weight & Mass: "g" = gram; "sg" = slug; "lbm" = pound (avoirdupois); "u" = Atomic mass; "ozm" = ounces
(avoirdupois)
Distance: "m" = meter; "mi" = Statute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
"ang" = Angstrom; "pica" = pica (1/72in)
Time: "yr" = year; "day" = day; "hr" = hour; "mn" = minute; "sec" = second
Pressure: "pa" = Pascal; "atm" = atmosphere; "mmHg" = mm of mercury
Force: "N" = Newton; "dyn" = dyne; "lbf" = pound force
Energy: "J" = Joule; "e" = erg; "c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
"HPh" = horsepower-hour; "Wh" = Watt-hour; "flb" = foot-pound; "BTU" = BTU
Power: "HP" = horsepower; "W" = Watt
Magnetism: "T" = Tesler; "ga" = Gauss
Temperature: "C" = degrees Celsius; "F" = degrees Fahrenheit; "K" = Kelvin
Liquid Measure: "tsp" = teaspoon; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
"pt" = US Pint; "UK_pt" = UK pint; "qt" = quart; "gal" = gallon; "l" = liter
To_unit(3) Prefix Abbreviations for metric: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
giga; "M" = 1E+06 = mega; "k" = 1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
"c"=1E-02 = centi; "m" = 1E-03 = milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
15 = femto; "a" = 1E-18 = atto
Topic1 First of up to 28 parameters that together represent a unique piece of real-time data
Topic2,… Second of up to 28 parameters that together represent a unique piece of real-time data
Triangulation_precision An integer equal to or greater than 3 that specifies the number of significant digits to be used for the
intermediate euro value when converting between two euro member currencies
Type (TTEST function) The kind of t-Test to perform; 1 = Paired; 2 = Two-sample equal variance (homoscedastic); 3 = Two-sample
unequal variance (heteroscedastic)
Type_text (CALL function) Text specifying the data type of the return value and the data types of all arguments to the DLL or code
resource
Type_text (INFO function) Text that specifies what type of information you want returned:
"directory" = Path of current directory of folder;
"memavail" = Amount of currently available memory in bytes;
"memused" = Amount of memory being used for data;
"numfile" = number of active worksheets in open workbooks;
"origin" = cell reference of top leftmost cell visible in window, based on current scrolling position;
"osversion" = current operating system version, as text;
"recalc" = current recalculation mode;
"release" = version of Excel;
"system" = name of the operating environment (Mac or pcdos);
"totmem" = total memory available
Unit "y" = years; "m" = months; "d" = days; "md" = days ignoring months and years; "ym" = years and months; "yd"
= years and days
Upper_limit The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit
Value2,… Second of 1 to n possible values (n=30 for AVERAGEA; n=29 for CHOOSE, NPV)
Values (IRR and MIRR) An array or a reference to cells that contain numbers for which you want to calculate the internal rate of
return. Values must contain at least one positive value and one negative value to calculate the internal rate of
return. If an array or reference argument contains text, logical values, or empty cells, those values are
ignored.
Values (XIRR and XNPV) A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and
corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or
payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The
series of values must contain at least one positive value and one negative value
Width The width, in number of columns, that you want the returned reference to be. Width must be a positive
number
X_range The range of numeric values of x with which there are associated probabilities
nterval of x
he procedure
lues
with SUMPRODUCT)
p to 30 with SUMPRODUCT)
o 30 with SUMPRODUCT)
nterval of y
e is omitted, it is assumed to be 10
se:
0; 1 = Actual / Actual; 2 = Actual / 360;
0/360
ed
ch successive power of x is multiplied. The number of values in coefficients
in the power series
s are returned as the first row of the results. TRUE if the column names to be
esults. FALSE if column names not wanted. If column_names_logical is
ot return column names
eft (-) or right (+), that you want the upper-left cell of the result to refer to
e data source name, user ID, and passwords, required by the driver being
e and must follow the driver's format
of values
rks that is in a date text form acceptable to Excel. Note that acceptable date
el settings.
at corresponds to the cash flow payments. The first payment date indicates
payments. All other dates must be later than this date, but they may occur in
of the month. If day is greater than the number of days in the month specified,
ear arguments appropriately and day represents the balance after this
nonholiday days before or after start_date. A positive value for days yields a
ds a past date
om
om
edom
o divide number
he ratio of the product of row totals and column totals to the grand total
m in the Category box on the Number tab in the Format Cells dialog box
atute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
(1/72in)
hr" = hour; "mn" = minute; "sec" = second
= atmosphere; "mmHg" = mm of mercury
ne; "lbf" = pound force
c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
= Watt-hour; "flb" = foot-pound; "BTU" = BTU
= Watt
Gauss
lsius; "F" = degrees Fahrenheit; "K" = Kelvin
on; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
t; "qt" = quart; "gal" = gallon; "l" = liter
c: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
= milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
hat you want the returned reference to be. Height must be a positive number
e dates to exclude from the working calendar. The list can be either a range
r an array constant of the serial numbers that represent the dates
senting the hour. Any value greater than 23 will be divided by 24 and the
hour value
plex number
d_text you want to replace with new_text. If you specify instance_num, only
ced. Otherwise, every occurrence of old_text in text is changed to new_text
mbers
urity
of data
data
ch the asset is being depreciated (sometimes called the useful life of the
ERF
senting the minute. Any value greater than 59 will be converted to hours and
of the dynamic link library (DLL) that contains the procedure in Microsoft
h of the year. If month is greater than 12, month adds that number of months
cified
after start_date
o round number
ers in old_text
o extract
ant to extract
aluates to a number
s
number of times to repeat text
e some characters
$1,000)
eriod
population
number is raised
e value
distribution
ch trial
function in the DLL. You can also use the ordinal value of the function from
module-definition file (.DEF).
istered COM automation add-in that has been installed on the local
quotation marks
ex number
ist of numbers
external reference),
ells and can refer to multiple areas. If you want to specify several references
must include extra sets of parentheses so that Microsoft Excel will not
eparator
n Microsoft Excel for the Macintosh. You can also use the resource ID
er must not be in the form of text
hich day the week begins; 1 (or omitted) = starts Sunday nums 1 to 7; 2 =
sample
y
senting the second. Any value greater than 59 will be converted to hours,
dd-in should be run. If there is no server, and the program is run locally, leave
enter quotation marks ("") around the server name
ch is the date after the issue date when the security is traded to the buyer.
n quotation marks or as a serial number or function returning a date serial
o round
e to a cell containing the string, corresponding to the ISO code for the source
he search
ata is looked up
ion tails to return. If tails = 1, TDIST returns the one-tailed distribution. If tails
d distribution
e to a cell containing the string, corresponding to the ISO code for the source
on marks that represents a time in any one of the Excel time formats
" = slug; "lbm" = pound (avoirdupois); "u" = Atomic mass; "ozm" = ounces
atute Mile; "Nmi" = Nautical mile; "in" = inch; "ft" = foot; "yd" = yard;
(1/72in)
hr" = hour; "mn" = minute; "sec" = second
= atmosphere; "mmHg" = mm of mercury
ne; "lbf" = pound force
c" Thermodynamic calorie; "cal" = IT calorie; "eV" = electron volt;
= Watt-hour; "flb" = foot-pound; "BTU" = BTU
= Watt
Gauss
lsius; "F" = degrees Fahrenheit; "K" = Kelvin
on; "tbs" = tablespoon; "oz" = fluid ounce; "cup" = cup;
t; "qt" = quart; "gal" = gallon; "l" = liter
c: "E" = 1E+18 = exa; "P" = 1E+15 = peta; "T" 1E+12 = tera; "G" = 1E+09 =
1E+03 = kilo; "h" = 1E+02 = hecto; "e" = 1E+01 = dekao; "d" = 1E-01 = deci;
= milli; "u" = 1E-06 = micro; "n" = 1E-09 = nano; "p" = 1E-12 = pico; "f" = 1E-
ment in advance
he return value and the data types of all arguments to the DLL or code
nformation you want returned:
ctory of folder;
y available memory in bytes;
y being used for data;
ksheets in open workbooks;
tmost cell visible in window, based on current scrolling position;
system version, as text;
mode;
days; "md" = days ignoring months and years; "ym" = years and months; "yd"
aluates to a value
cal_test is FALSE
cal_test is TRUE
hat contain numbers for which you want to calculate the internal rate of
ast one positive value and one negative value to calculate the internal rate of
rgument contains text, logical values, or empty cells, those values are
s, that you want the returned reference to be. Width must be a positive
want to find
he function
digits
e distribution