viernes, 18 de octubre de 2019

Excel Add ins with js

Excel.run

Excel.run executes a function where you specify the actions to perform against the Excel object model. Excel.run automatically creates a request context that you can use to interact with Excel objects. When Excel.run completes, a promise is resolved, and any objects that were allocated at runtime are automatically released.
The following example shows how to use Excel.run. The catch statement catches and logs errors that occur within the Excel.run.

Excel.run(function (context) {
    // You can use the Excel JavaScript API here in the batch function
    // to execute actions on the Excel object model.
    console.log('Your code goes here.');
}).catch(function (error) {
    console.log('error: ' + error);
    if (error instanceof OfficeExtension.Error) {
        console.log('Debug info: ' + JSON.stringify(error.debugInfo));
    }
});

Calling built-in functions

Excel.run(function (context) {
    var range = context.workbook.worksheets.getItem("Sheet1").getRange("A1:D4");
    var unitSoldInNov = context.workbook.functions.vlookup("Wrench", range, 2, false);
    unitSoldInNov.load('value');

    return context.sync()
        .then(function () {
            console.log(' Number of wrenches sold in November = ' + unitSoldInNov.value);
        });
}).catch(errorHandlerFunction);

Nested functions


Excel.run(function (context) {
    var range = context.workbook.worksheets.getItem("Sheet1").getRange("A1:D4");
    var sumOfTwoLookups = context.workbook.functions.sum(
        context.workbook.functions.vlookup("Wrench", range, 2, false),
        context.workbook.functions.vlookup("Wrench", range, 3, false)
    );
    sumOfTwoLookups.load('value');

    return context.sync()
        .then(function () {
            console.log(' Number of wrenches sold in November and December = ' + sumOfTwoLookups.value);
        });
}).catch(errorHandlerFunction);


FunctionReturn typeDescription
ABS functionFunctionResultReturns the absolute value of a number
ACCRINT functionFunctionResultReturns the accrued interest for a security that pays periodic interest
ACCRINTM functionFunctionResultReturns the accrued interest for a security that pays interest at maturity
ACOS functionFunctionResultReturns the arccosine of a number
ACOSH functionFunctionResultReturns the inverse hyperbolic cosine of a number
ACOT functionFunctionResultReturns the arccotangent of a number
ACOTH functionFunctionResultReturns the hyperbolic arccotangent of a number
AMORDEGRC functionFunctionResultReturns the depreciation for each accounting period by using a depreciation coefficient
AMORLINC functionFunctionResultReturns the depreciation for each accounting period
AND functionFunctionResultReturns TRUE if all of its arguments are true
ARABIC functionFunctionResultConverts a Roman number to Arabic, as a number
AREAS functionFunctionResultReturns the number of areas in a reference
ASC functionFunctionResultChanges full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters
ASIN functionFunctionResultReturns the arcsine of a number
ASINH functionFunctionResultReturns the inverse hyperbolic sine of a number
ATAN functionFunctionResultReturns the arctangent of a number
ATAN2 functionFunctionResultReturns the arctangent from x- and y-coordinates
ATANH functionFunctionResultReturns the inverse hyperbolic tangent of a number
AVEDEV functionFunctionResultReturns the average of the absolute deviations of data points from their mean
AVERAGE functionFunctionResultReturns the average of its arguments
AVERAGEA functionFunctionResultReturns the average of its arguments, including numbers, text, and logical values
AVERAGEIF functionFunctionResultReturns the average (arithmetic mean) of all the cells in a range that meet a given criteria
AVERAGEIFS functionFunctionResultReturns the average (arithmetic mean) of all cells that meet multiple criteria
BAHTTEXT functionFunctionResultConverts a number to text, using the ß (baht) currency format
BASE functionFunctionResultConverts a number into a text representation with the given radix (base)
BESSELI functionFunctionResultReturns the modified Bessel function In(x)
BESSELJ functionFunctionResultReturns the Bessel function Jn(x)
BESSELK functionFunctionResultReturns the modified Bessel function Kn(x)
BESSELY functionFunctionResultReturns the Bessel function Yn(x)
BETA.DIST functionFunctionResultReturns the beta cumulative distribution function
BETA.INV functionFunctionResultReturns the inverse of the cumulative distribution function for a specified beta distribution
BIN2DEC functionFunctionResultConverts a binary number to decimal
BIN2HEX functionFunctionResultConverts a binary number to hexadecimal
BIN2OCT functionFunctionResultConverts a binary number to octal
BINOM.DIST functionFunctionResultReturns the individual term binomial distribution probability
BINOM.DIST.RANGE functionFunctionResultReturns the probability of a trial result using a binomial distribution
BINOM.INV functionFunctionResultReturns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value
BITAND functionFunctionResultReturns a 'Bitwise And' of two numbers
BITLSHIFT functionFunctionResultReturns a value number shifted left by shift_amount bits
BITOR functionFunctionResultReturns a bitwise OR of 2 numbers
BITRSHIFT functionFunctionResultReturns a value number shifted right by shift_amount bits
BITXOR functionFunctionResultReturns a bitwise 'Exclusive Or' of two numbers
CEILING.MATH, ECMA_CEILING functionsFunctionResultRounds a number up, to the nearest integer or to the nearest multiple of significance
CEILING.PRECISE functionFunctionResultRounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.
CHAR functionFunctionResultReturns the character specified by the code number
CHISQ.DIST functionFunctionResultReturns the cumulative beta probability density function
CHISQ.DIST.RT functionFunctionResultReturns the one-tailed probability of the chi-squared distribution
CHISQ.INV functionFunctionResultReturns the cumulative beta probability density function
CHISQ.INV.RT functionFunctionResultReturns the inverse of the one-tailed probability of the chi-squared distribution
CHOOSE functionFunctionResultChooses a value from a list of values
CLEAN functionFunctionResultRemoves all nonprintable characters from text
CODE functionFunctionResultReturns a numeric code for the first character in a text string
COLUMNS functionFunctionResultReturns the number of columns in a reference
COMBIN functionFunctionResultReturns the number of combinations for a given number of objects
COMBINA functionFunctionResultReturns the number of combinations with repetitions for a given number of items
COMPLEX functionFunctionResultConverts real and imaginary coefficients into a complex number
CONCATENATE functionFunctionResultJoins several text items into one text item
CONFIDENCE.NORM functionFunctionResultReturns the confidence interval for a population mean
CONFIDENCE.T functionFunctionResultReturns the confidence interval for a population mean, using a Student's t distribution
CONVERT functionFunctionResultConverts a number from one measurement system to another
COS functionFunctionResultReturns the cosine of a number
COSH functionFunctionResultReturns the hyperbolic cosine of a number
COT functionFunctionResultReturns the cotangent of an angle
COTH functionFunctionResultReturns the hyperbolic cotangent of a number
COUNT functionFunctionResultCounts how many numbers are in the list of arguments
COUNTA functionFunctionResultCounts how many values are in the list of arguments
COUNTBLANK functionFunctionResultCounts the number of blank cells within a range
COUNTIF functionFunctionResultCounts the number of cells within a range that meet the given criteria
COUNTIFS functionFunctionResultCounts the number of cells within a range that meet multiple criteria
COUPDAYBS functionFunctionResultReturns the number of days from the beginning of the coupon period to the settlement date
COUPDAYS functionFunctionResultReturns the number of days in the coupon period that contains the settlement date
COUPDAYSNC functionFunctionResultReturns the number of days from the settlement date to the next coupon date
COUPNCD functionFunctionResultReturns the next coupon date after the settlement date
COUPNUM functionFunctionResultReturns the number of coupons payable between the settlement date and maturity date
COUPPCD functionFunctionResultReturns the previous coupon date before the settlement date
CSC functionFunctionResultReturns the cosecant of an angle
CSCH functionFunctionResultReturns the hyperbolic cosecant of an angle
CUMIPMT functionFunctionResultReturns the cumulative interest paid between two periods
CUMPRINC functionFunctionResultReturns the cumulative principal paid on a loan between two periods
DATE functionFunctionResultReturns the serial number of a particular date
DATEVALUE functionFunctionResultConverts a date in the form of text to a serial number
DAVERAGE functionFunctionResultReturns the average of selected database entries
DAY functionFunctionResultConverts a serial number to a day of the month
DAYS functionFunctionResultReturns the number of days between two dates
DAYS360 functionFunctionResultCalculates the number of days between two dates based on a 360-day year
DB functionFunctionResultReturns the depreciation of an asset for a specified period by using the fixed-declining balance method
DBCS functionFunctionResultChanges half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters
DCOUNT functionFunctionResultCounts the cells that contain numbers in a database
DCOUNTA functionFunctionResultCounts nonblank cells in a database
DDB functionFunctionResultReturns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify
DEC2BIN functionFunctionResultConverts a decimal number to binary
DEC2HEX functionFunctionResultConverts a decimal number to hexadecimal
DEC2OCT functionFunctionResultConverts a decimal number to octal
DECIMAL functionFunctionResultConverts a text representation of a number in a given base into a decimal number
DEGREES functionFunctionResultConverts radians to degrees
DELTA functionFunctionResultTests whether two values are equal
DEVSQ functionFunctionResultReturns the sum of squares of deviations
DGET functionFunctionResultExtracts from a database a single record that matches the specified criteria
DISC functionFunctionResultReturns the discount rate for a security
DMAX functionFunctionResultReturns the maximum value from selected database entries
DMIN functionFunctionResultReturns the minimum value from selected database entries
DOLLAR, USDOLLAR functionsFunctionResultConverts a number to text, using the $ (dollar) currency format
DOLLARDE functionFunctionResultConverts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number
DOLLARFR functionFunctionResultConverts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction
DPRODUCT functionFunctionResultMultiplies the values in a particular field of records that match the criteria in a database
DSTDEV functionFunctionResultEstimates the standard deviation based on a sample of selected database entries
DSTDEVP functionFunctionResultCalculates the standard deviation based on the entire population of selected database entries
DSUM functionFunctionResultAdds the numbers in the field column of records in the database that match the criteria
DURATION functionFunctionResultReturns the annual duration of a security with periodic interest payments
DVAR functionFunctionResultEstimates variance based on a sample from selected database entries
DVARP functionFunctionResultCalculates variance based on the entire population of selected database entries
EDATE functionFunctionResultReturns the serial number of the date that is the indicated number of months before or after the start date
EFFECT functionFunctionResultReturns the effective annual interest rate
EOMONTH functionFunctionResultReturns the serial number of the last day of the month before or after a specified number of months
ERF functionFunctionResultReturns the error function
ERF.PRECISE functionFunctionResultReturns the error function
ERFC functionFunctionResultReturns the complementary error function
ERFC.PRECISE functionFunctionResultReturns the complementary ERF function integrated between x and infinity
ERROR.TYPE functionFunctionResultReturns a number corresponding to an error type
EVEN functionFunctionResultRounds a number up to the nearest even integer
EXACT functionFunctionResultChecks to see if two text values are identical
EXP functionFunctionResultReturns e raised to the power of a given number
EXPON.DIST functionFunctionResultReturns the exponential distribution
F.DIST functionFunctionResultReturns the F probability distribution
F.DIST.RT functionFunctionResultReturns the F probability distribution
F.INV functionFunctionResultReturns the inverse of the F probability distribution
F.INV.RT functionFunctionResultReturns the inverse of the F probability distribution
FACT functionFunctionResultReturns the factorial of a number
FACTDOUBLE functionFunctionResultReturns the double factorial of a number
FALSE functionFunctionResultReturns the logical value FALSE
FIND, FINDB functionsFunctionResultFinds one text value within another (case-sensitive)
FISHER functionFunctionResultReturns the Fisher transformation
FISHERINV functionFunctionResultReturns the inverse of the Fisher transformation
FIXED functionFunctionResultFormats a number as text with a fixed number of decimals
FLOOR.MATH functionFunctionResultRounds a number down, to the nearest integer or to the nearest multiple of significance
FLOOR.PRECISE functionFunctionResultRounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.
FV functionFunctionResultReturns the future value of an investment
FVSCHEDULE functionFunctionResultReturns the future value of an initial principal after applying a series of compound interest rates
GAMMA functionFunctionResultReturns the Gamma function value
GAMMA.DIST functionFunctionResultReturns the gamma distribution
GAMMA.INV functionFunctionResultReturns the inverse of the gamma cumulative distribution
GAMMALN functionFunctionResultReturns the natural logarithm of the gamma function, Γ(x)
GAMMALN.PRECISE functionFunctionResultReturns the natural logarithm of the gamma function, Γ(x)
GAUSS functionFunctionResultReturns 0.5 less than the standard normal cumulative distribution
GCD functionFunctionResultReturns the greatest common divisor
GEOMEAN functionFunctionResultReturns the geometric mean
GESTEP functionFunctionResultTests whether a number is greater than a threshold value
HARMEAN functionFunctionResultReturns the harmonic mean
HEX2BIN functionFunctionResultConverts a hexadecimal number to binary
HEX2DEC functionFunctionResultConverts a hexadecimal number to decimal
HEX2OCT functionFunctionResultConverts a hexadecimal number to octal
HLOOKUP functionFunctionResultLooks in the top row of an array and returns the value of the indicated cell
HOUR functionFunctionResultConverts a serial number to an hour
HYPERLINK functionFunctionResultCreates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet
HYPGEOM.DIST functionFunctionResultReturns the hypergeometric distribution
IF functionFunctionResultSpecifies a logical test to perform
IMABS functionFunctionResultReturns the absolute value (modulus) of a complex number
IMAGINARY functionFunctionResultReturns the imaginary coefficient of a complex number
IMARGUMENT functionFunctionResultReturns the argument theta, an angle expressed in radians
IMCONJUGATE functionFunctionResultReturns the complex conjugate of a complex number
IMCOS functionFunctionResultReturns the cosine of a complex number
IMCOSH functionFunctionResultReturns the hyperbolic cosine of a complex number
IMCOT functionFunctionResultReturns the cotangent of a complex number
IMCSC functionFunctionResultReturns the cosecant of a complex number
IMCSCH functionFunctionResultReturns the hyperbolic cosecant of a complex number
IMDIV functionFunctionResultReturns the quotient of two complex numbers
IMEXP functionFunctionResultReturns the exponential of a complex number
IMLN functionFunctionResultReturns the natural logarithm of a complex number
IMLOG10 functionFunctionResultReturns the base-10 logarithm of a complex number
IMLOG2 functionFunctionResultReturns the base-2 logarithm of a complex number
IMPOWER functionFunctionResultReturns a complex number raised to an integer power
IMPRODUCT functionFunctionResultReturns the product of from 2 to 255 complex numbers
IMREAL functionFunctionResultReturns the real coefficient of a complex number
IMSEC functionFunctionResultReturns the secant of a complex number
IMSECH functionFunctionResultReturns the hyperbolic secant of a complex number
IMSIN functionFunctionResultReturns the sine of a complex number
IMSINH functionFunctionResultReturns the hyperbolic sine of a complex number
IMSQRT functionFunctionResultReturns the square root of a complex number
IMSUB functionFunctionResultReturns the difference between two complex numbers
IMSUM functionFunctionResultReturns the sum of complex numbers
IMTAN functionFunctionResultReturns the tangent of a complex number
INT functionFunctionResultRounds a number down to the nearest integer
INTRATE functionFunctionResultReturns the interest rate for a fully invested security
IPMT functionFunctionResultReturns the interest payment for an investment for a given period
IRR functionFunctionResultReturns the internal rate of return for a series of cash flows
ISERR functionFunctionResultReturns TRUE if the value is any error value except #N/A
ISERROR functionFunctionResultReturns TRUE if the value is any error value
ISEVEN functionFunctionResultReturns TRUE if the number is even
ISFORMULA functionFunctionResultReturns TRUE if there is a reference to a cell that contains a formula
ISLOGICAL functionFunctionResultReturns TRUE if the value is a logical value
ISNA functionFunctionResultReturns TRUE if the value is the #N/A error value
ISNONTEXT functionFunctionResultReturns TRUE if the value is not text
ISNUMBER functionFunctionResultReturns TRUE if the value is a number
ISO.CEILING functionFunctionResultReturns a number that is rounded up to the nearest integer or to the nearest multiple of significance
ISODD functionFunctionResultReturns TRUE if the number is odd
ISOWEEKNUM functionFunctionResultReturns the number of the ISO week number of the year for a given date
ISPMT functionFunctionResultCalculates the interest paid during a specific period of an investment
ISREF functionFunctionResultReturns TRUE if the value is a reference
ISTEXT functionFunctionResultReturns TRUE if the value is text
KURT functionFunctionResultReturns the kurtosis of a data set
LARGE functionFunctionResultReturns the k-th largest value in a data set
LCM functionFunctionResultReturns the least common multiple
LEFT, LEFTB functionsFunctionResultReturns the leftmost characters from a text value
LEN, LENB functionsFunctionResultReturns the number of characters in a text string
LN functionFunctionResultReturns the natural logarithm of a number
LOG functionFunctionResultReturns the logarithm of a number to a specified base
LOG10 functionFunctionResultReturns the base-10 logarithm of a number
LOGNORM.DIST functionFunctionResultReturns the cumulative lognormal distribution
LOGNORM.INV functionFunctionResultReturns the inverse of the lognormal cumulative distribution
LOOKUP functionFunctionResultLooks up values in a vector or array
LOWER functionFunctionResultConverts text to lowercase
MATCH functionFunctionResultLooks up values in a reference or array
MAX functionFunctionResultReturns the maximum value in a list of arguments
MAXA functionFunctionResultReturns the maximum value in a list of arguments, including numbers, text, and logical values
MDURATION functionFunctionResultReturns the Macauley modified duration for a security with an assumed par value of $100
MEDIAN functionFunctionResultReturns the median of the given numbers
MID, MIDB functionsFunctionResultReturns a specific number of characters from a text string starting at the position you specify
MIN functionFunctionResultReturns the minimum value in a list of arguments
MINA functionFunctionResultReturns the smallest value in a list of arguments, including numbers, text, and logical values
MINUTE functionFunctionResultConverts a serial number to a minute
MIRR functionFunctionResultReturns the internal rate of return where positive and negative cash flows are financed at different rates
MOD functionFunctionResultReturns the remainder from division
MONTH functionFunctionResultConverts a serial number to a month
MROUND functionFunctionResultReturns a number rounded to the desired multiple
MULTINOMIAL functionFunctionResultReturns the multinomial of a set of numbers
N functionFunctionResultReturns a value converted to a number
NA functionFunctionResultReturns the error value #N/A
NEGBINOM.DIST functionFunctionResultReturns the negative binomial distribution
NETWORKDAYS functionFunctionResultReturns the number of whole workdays between two dates
NETWORKDAYS.INTL functionFunctionResultReturns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days
NOMINAL functionFunctionResultReturns the annual nominal interest rate
NORM.DIST functionFunctionResultReturns the normal cumulative distribution
NORM.INV functionFunctionResultReturns the inverse of the normal cumulative distribution
NORM.S.DIST functionFunctionResultReturns the standard normal cumulative distribution
NORM.S.INV functionFunctionResultReturns the inverse of the standard normal cumulative distribution
NOT functionFunctionResultReverses the logic of its argument
NOW functionFunctionResultReturns the serial number of the current date and time
NPER functionFunctionResultReturns the number of periods for an investment
NPV functionFunctionResultReturns the net present value of an investment based on a series of periodic cash flows and a discount rate
NUMBERVALUE functionFunctionResultConverts text to number in a locale-independent manner
OCT2BIN functionFunctionResultConverts an octal number to binary
OCT2DEC functionFunctionResultConverts an octal number to decimal
OCT2HEX functionFunctionResultConverts an octal number to hexadecimal
ODD functionFunctionResultRounds a number up to the nearest odd integer
ODDFPRICE functionFunctionResultReturns the price per $100 face value of a security with an odd first period
ODDFYIELD functionFunctionResultReturns the yield of a security with an odd first period
ODDLPRICE functionFunctionResultReturns the price per $100 face value of a security with an odd last period
ODDLYIELD functionFunctionResultReturns the yield of a security with an odd last period
OR functionFunctionResultReturns TRUE if any argument is true
PDURATION functionFunctionResultReturns the number of periods required by an investment to reach a specified value
PERCENTILE.EXC functionFunctionResultReturns the k-th percentile of values in a range, where k is in the range 0..1, exclusive
PERCENTILE.INC functionFunctionResultReturns the k-th percentile of values in a range
PERCENTRANK.EXC functionFunctionResultReturns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set
PERCENTRANK.INC functionFunctionResultReturns the percentage rank of a value in a data set
PERMUT functionFunctionResultReturns the number of permutations for a given number of objects
PERMUTATIONA functionFunctionResultReturns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects
PHI functionFunctionResultReturns the value of the density function for a standard normal distribution
PI functionFunctionResultReturns the value of pi
PMT functionFunctionResultReturns the periodic payment for an annuity
POISSON.DIST functionFunctionResultReturns the Poisson distribution
POWER functionFunctionResultReturns the result of a number raised to a power
PPMT functionFunctionResultReturns the payment on the principal for an investment for a given period
PRICE functionFunctionResultReturns the price per $100 face value of a security that pays periodic interest
PRICEDISC functionFunctionResultReturns the price per $100 face value of a discounted security
PRICEMAT functionFunctionResultReturns the price per $100 face value of a security that pays interest at maturity
PRODUCT functionFunctionResultMultiplies its arguments
PROPER functionFunctionResultCapitalizes the first letter in each word of a text value
PV functionFunctionResultReturns the present value of an investment
QUARTILE.EXC functionFunctionResultReturns the quartile of the data set, based on percentile values from 0..1, exclusive
QUARTILE.INC functionFunctionResultReturns the quartile of a data set
QUOTIENT functionFunctionResultReturns the integer portion of a division
RADIANS functionFunctionResultConverts degrees to radians
RAND functionFunctionResultReturns a random number between 0 and 1
RANDBETWEEN functionFunctionResultReturns a random number between the numbers you specify
RANK.AVG functionFunctionResultReturns the rank of a number in a list of numbers
RANK.EQ functionFunctionResultReturns the rank of a number in a list of numbers
RATE functionFunctionResultReturns the interest rate per period of an annuity
RECEIVED functionFunctionResultReturns the amount received at maturity for a fully invested security
REPLACE, REPLACEB functionsFunctionResultReplaces characters within text
REPT functionFunctionResultRepeats text a given number of times
RIGHT, RIGHTB functionsFunctionResultReturns the rightmost characters from a text value
ROMAN functionFunctionResultConverts an Arabic numeral to Roman, as text
ROUND functionFunctionResultRounds a number to a specified number of digits
ROUNDDOWN functionFunctionResultRounds a number down, toward zero
ROUNDUP functionFunctionResultRounds a number up, away from zero
ROWS functionFunctionResultReturns the number of rows in a reference
RRI functionFunctionResultReturns an equivalent interest rate for the growth of an investment
SEC functionFunctionResultReturns the secant of an angle
SECH functionFunctionResultReturns the hyperbolic secant of an angle
SECOND functionFunctionResultConverts a serial number to a second
SERIESSUM functionFunctionResultReturns the sum of a power series based on the formula
SHEET functionFunctionResultReturns the sheet number of the referenced sheet
SHEETS functionFunctionResultReturns the number of sheets in a reference
SIGN functionFunctionResultReturns the sign of a number
SIN functionFunctionResultReturns the sine of the given angle
SINH functionFunctionResultReturns the hyperbolic sine of a number
SKEW functionFunctionResultReturns the skewness of a distribution
SKEW.P functionFunctionResultReturns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean
SLN functionFunctionResultReturns the straight-line depreciation of an asset for one period
SMALL functionFunctionResultReturns the k-th smallest value in a data set
SQRT functionFunctionResultReturns a positive square root
SQRTPI functionFunctionResultReturns the square root of (number * pi)
STANDARDIZE functionFunctionResultReturns a normalized value
STDEV.P functionFunctionResultCalculates standard deviation based on the entire population
STDEV.S functionFunctionResultEstimates standard deviation based on a sample
STDEVA functionFunctionResultEstimates standard deviation based on a sample, including numbers, text, and logical values
STDEVPA functionFunctionResultCalculates standard deviation based on the entire population, including numbers, text, and logical values
SUBSTITUTE functionFunctionResultSubstitutes new text for old text in a text string
SUBTOTAL functionFunctionResultReturns a subtotal in a list or database
SUM functionFunctionResultAdds its arguments
SUMIF functionFunctionResultAdds the cells specified by a given criteria
SUMIFS functionFunctionResultAdds the cells in a range that meet multiple criteria
SUMSQ functionFunctionResultReturns the sum of the squares of the arguments
SYD functionFunctionResultReturns the sum-of-years' digits depreciation of an asset for a specified period
T functionFunctionResultConverts its arguments to text
T.DIST functionFunctionResultReturns the Percentage Points (probability) for the Student t-distribution
T.DIST.2T functionFunctionResultReturns the Percentage Points (probability) for the Student t-distribution
T.DIST.RT functionFunctionResultReturns the Student's t-distribution
T.INV functionFunctionResultReturns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom
T.INV.2T functionFunctionResultReturns the inverse of the Student's t-distribution
TAN functionFunctionResultReturns the tangent of a number
TANH functionFunctionResultReturns the hyperbolic tangent of a number
TBILLEQ functionFunctionResultReturns the bond-equivalent yield for a Treasury bill
TBILLPRICE functionFunctionResultReturns the price per $100 face value for a Treasury bill
TBILLYIELD functionFunctionResultReturns the yield for a Treasury bill
TEXT functionFunctionResultFormats a number and converts it to text
TIME functionFunctionResultReturns the serial number of a particular time
TIMEVALUE functionFunctionResultConverts a time in the form of text to a serial number
TODAY functionFunctionResultReturns the serial number of today's date
TRIM functionFunctionResultRemoves spaces from text
TRIMMEAN functionFunctionResultReturns the mean of the interior of a data set
TRUE functionFunctionResultReturns the logical value TRUE
TRUNC functionFunctionResultTruncates a number to an integer
TYPE functionFunctionResultReturns a number indicating the data type of a value
UNICHAR functionFunctionResultReturns the Unicode character that is references by the given numeric value
UNICODE functionFunctionResultReturns the number (code point) that corresponds to the first character of the text
UPPER functionFunctionResultConverts text to uppercase
VALUE functionFunctionResultConverts a text argument to a number
VAR.P functionFunctionResultCalculates variance based on the entire population
VAR.S functionFunctionResultEstimates variance based on a sample
VARA functionFunctionResultEstimates variance based on a sample, including numbers, text, and logical values
VARPA functionFunctionResultCalculates variance based on the entire population, including numbers, text, and logical values
VDB functionFunctionResultReturns the depreciation of an asset for a specified or partial period by using a declining balance method
VLOOKUP functionFunctionResultLooks in the first column of an array and moves across the row to return the value of a cell
WEEKDAY functionFunctionResultConverts a serial number to a day of the week
WEEKNUM functionFunctionResultConverts a serial number to a number representing where the week falls numerically with a year
WEIBULL.DIST functionFunctionResultReturns the Weibull distribution
WORKDAY functionFunctionResultReturns the serial number of the date before or after a specified number of workdays
WORKDAY.INTL functionFunctionResultReturns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days
XIRR functionFunctionResultReturns the internal rate of return for a schedule of cash flows that is not necessarily periodic
XNPV functionFunctionResultReturns the net present value for a schedule of cash flows that is not necessarily periodic
XOR functionFunctionResultReturns a logical exclusive OR of all arguments
YEAR functionFunctionResultConverts a serial number to a year
YEARFRAC functionFunctionResultReturns the year fraction representing the number of whole days between start_date and end_date
YIELD functionFunctionResultReturns the yield on a security that pays periodic interest
YIELDDISC functionFunctionResultReturns the annual yield for a discounted security; for example, a Treasury bill
YIELDMAT functionFunctionResultReturns the annual yield of a security that pays interest at maturity
Z.TEST functionFunctionResult
Returns the one-tailed probability-value of a z-test

No hay comentarios:

Publicar un comentario