excel formula

118
Excel Function Dictionary © 1998 - 2000 Peter Noneley FunctionList Page 1 of 118 Age Calculation a!"le a!"le Autou! s#ortcut $ey a!"le a!"le %rac$ets in for!ula a!"le a!"le a!"le FileNa!e for!ula a!"le a!"le &nstant C#arts a!"le a!"le 'r(ering toc$ a!"le a!"le toc$ 'r(ering Percentages a!"le a!"le )o* to calculate +arious "ercentages Pro,ect Dates a!"le a!"le Exa!"le using (ate calculation #o* all for!ula a!"le a!"le "lit Forena!eurna!e a!"le a!"le .i!e Calculation a!"le a!"le )o* to calculate ti!e .i!e#eet For Flexi a!"le a!"le Exa!"le flexi ti!e s#eet A% /at#e!atical %uilt-in eturns t#e a solute +alue of a nu! er AND Logical %uilt-in eturns . E if all its argu!ents are . E A3E A4E tatistical %uilt-in eturns t#e a+erage of its argu!ents %&N2DEC Engineering Analysis .oolPa$ Con+erts a inary nu! er to (eci!al CE&L&N4 /at#e!atical %uilt-in oun(s a nu! er to t#e nearest integer or to t#e nearest !ulti"le of CELL &nfor!ation % ui lt- in eturns infor!ation a out t#e for!atting5 location5 or contents of a C)A .ext %uilt-in eturns t#e c#aracter s"ecifie( y t#e co(e nu! er C)''E Loo$u" %uilt-in C#ooses a +alue fro! a list of +alues CLEAN .ext %uilt-in e!o+es all non"rinta le c#aracters fro! text C'DE .ext %uilt-in eturns a nu!eric co(e for t#e first c#aracter in a text string C'/%&N /at#e!atical % ui lt- in eturns t#e nu! er of co! inations for a gi+en nu! er of o ,ects C'NCA.ENA.E .ext %uilt-in 6oins se+eral text ite!s into one text ite! C'N3E . Engineering Analysis .oolPa$ Con+erts a nu! er fro! one !easure!ent syste! to anot#er C' EL tatis ti cal %uil t-i neturns t#e correlation coefficient et*een t*o (ata sets C' N. tatistical %uilt-in Counts #o* !any nu! ers are in t#e list of argu!ents C' N.A tatistical %uilt-in Counts #o* !any +alues are in t#e list of argu!ents C' N.%LAN7 &nfor!ation %uilt-in Counts t#e nu! er of lan$ cells *it#in a range C' N.&F /at#e!atical %uilt-in Counts t#e nu! er of non lan$ cells *it#in a range t#at !eet t#e gi+ DA.E Date %uilt-in eturns t#e serial nu! er of a "articular (ate DA.ED&F Date %uilt-in Calculates t#e (ifference et*een t*o (ates n(ocu!ente( in + : 9 DA.E3AL E Date %uilt-in Con+erts a (ate in t#e for! of text to a serial nu! er DA3E A4E Data ase %uilt-in eturns t#e a+erage of selecte( (ata ase entries DA; Date %uilt-in Con+erts a serial nu! er to a (ay of t#e !ont# DA;<=0 Date %uil t-i nCalculates t#e nu! er of (ays et*een t*o (ates ase( on a <=0-(ay D% Financial % ui lt- in eturns t#e (e"reciation of an asset for a s"ecifie( "erio( using t#e DC' N. Data ase %uilt-in Counts t#e cells t#at contain nu! ers in a (ata ase DC' N.A Data ase %uilt-in Counts non lan$ cells in a (ata ase DEC2%&N Engineering Analysis .oolPa$ Con+erts a (eci!al nu! er to inary DEC2)E> Engineering Analysis .oolPa$ Con+erts a (eci!al nu! er to #exa(eci!al DEL.A Engineering Analysis .oolPa$ .ests *#et#er t*o +alues are e?ual D4E. Data ase % ui lt- inExtracts fro! a (ata ase a single recor( t#at !atc#es t#e s"ecifie( D/A> Data ase %uil t-i neturns t#e !axi!u! +alue fro! selecte( (ata ase entries D/&N Data ase %uil t-i neturns t#e !ini!u! +alue fro! selecte( (ata ase entries D'LLA .ext %uilt-in Con+erts a nu! er to text5 using currency for!at D / Data ase % ui lt- inA((s t#e nu! ers in t#e fiel( colu!n of recor(s in t#e (ata ase t#at EDA.E Date Analysis .oolPa$ eturns t#e serial nu! er of t#e (ate t#at is t#e in(icate( nu! er E'/'N.) Date Analysis .oolPa$ eturns t#e serial nu! er of t#e last (ay of t#e !ont# efore or af E ' .;PE &nfor!ation %uil t-i neturns a nu! er corres"on(ing to an error ty"e E3EN /at#e!atical %uil t-i noun(s a nu! er u" to t#e nearest e+en integer E>AC. .ext %uilt-in C#ec$s to see if t*o text +alues are i(entical FAC. /at#e!atical %uilt-in eturns t#e factorial of a nu! er F&ND .ext %uilt-in Fin(s one text +alue *it#in anot#er @case-sensiti+e F&>ED .ext %uilt-in For!ats a nu! er as text *it# a fixe( nu! er of (eci!als FL'' /at#e!atical %uilt-in oun(s a nu! er (o*n5 to*ar( Bero F' ECA. tatistical %uilt-in eturns a +alue along a linear tren( F E ENC; tatis ti cal %uil t-i neturns a fre?uency (istri ution as a +ertical array 4CD /at#e!aticalAnalysis .oolPa$ eturns t#e greatest co!!on (i+isor 4E.EP Engineering Analysis .oolPa$ .ests *#et#er a nu! er is greater t#an a t#res#ol( +alue 4 ' .) tatistical %uilt-in eturns +alues along an ex"onential tren( )E>2DEC Engineering Analysis .oolPa$ Con+erts a #exa(eci!al nu! er to (eci!al )L''7 P Loo$u" %uil t-i nLoo$s in t#e to" ro* of an array an( returns t#e +alue of t#e in(icat )' Date %uilt-in Con+erts a serial nu! er to an #our &F Logical %uilt-in "ecifies a logical test to "erfor! &NDE> Loo$u" %uilt-in ses an in(ex to c#oose a +alue fro! a reference or array &ND& EC. Loo$u" %uilt-in eturns a reference in(icate( y a text +alue &NF' &nfor!ation % ui lt- in eturns infor!ation a out t#e current o"erating en+iron!ent sing DA.ED&F@ sing Alt an( sing /&D@ CELL@ an( F&ND@ sing F11 sing Ctrl an( sing LEF.@ &4).@ F&ND@ %.&. .E@

Upload: nalawadednyaneshwer

Post on 07-Oct-2015

15 views

Category:

Documents


10 download

DESCRIPTION

Excel Formula

TRANSCRIPT

Excel Function Dictionary

Welcome

ExcelFunctionDictionaryv1.0 BetaCopyright 1998 - 2001 Peter NoneleyFunction IndexDocumentationInstructionsChange ColoursAnalysis ToolPakAbout

FunctionListAge CalculationSampleSampleUsing DATEDIF()AutoSum shortcut keySampleSampleUsing Alt and =Brackets in formulaSampleSampleSampleFileName formulaSampleSampleUsing MID() CELL() and FIND()Instant ChartsSampleSampleUsing F11Ordering StockSampleSampleStock OrderingPercentagesSampleSampleHow to calculate various percentagesProject DatesSampleSampleExample using date calculation.Show all formulaSampleSampleUsing Ctrl and `Split ForenameSurnameSampleSampleUsing LEFT() RIGHT() FIND() SUBSTITUTE()Time CalculationSampleSampleHow to calculate time.TimeSheet For FlexiSampleSampleExample flexi time sheet.ABSMathematicalBuilt-inReturns the absolute value of a numberANDLogicalBuilt-inReturns TRUE if all its arguments are TRUEAVERAGEStatisticalBuilt-inReturns the average of its argumentsBIN2DECEngineeringAnalysis ToolPakConverts a binary number to decimalCEILINGMathematicalBuilt-inRounds a number to the nearest integer or to the nearest multiple of significanceCELLInformationBuilt-inReturns information about the formatting, location, or contents of a cellCHARTextBuilt-inReturns the character specified by the code numberCHOOSELookupBuilt-inChooses a value from a list of valuesCLEANTextBuilt-inRemoves all nonprintable characters from textCODETextBuilt-inReturns a numeric code for the first character in a text stringCOMBINMathematicalBuilt-inReturns the number of combinations for a given number of objectsCONCATENATETextBuilt-inJoins several text items into one text itemCONVERTEngineeringAnalysis ToolPakConverts a number from one measurement system to anotherCORRELStatisticalBuilt-inReturns the correlation coefficient between two data setsCOUNTStatisticalBuilt-inCounts how many numbers are in the list of argumentsCOUNTAStatisticalBuilt-inCounts how many values are in the list of argumentsCOUNTBLANKInformationBuilt-inCounts the number of blank cells within a rangeCOUNTIFMathematicalBuilt-inCounts the number of nonblank cells within a range that meet the given criteriaDATEDateBuilt-inReturns the serial number of a particular dateDATEDIFDateBuilt-inCalculates the difference between two dates. Undocumented in v5/7/97DATEVALUEDateBuilt-inConverts a date in the form of text to a serial numberDAVERAGEDatabaseBuilt-inReturns the average of selected database entriesDAYDateBuilt-inConverts a serial number to a day of the monthDAYS360DateBuilt-inCalculates the number of days between two dates based on a 360-day yearDBFinancialBuilt-inReturns the depreciation of an asset for a specified period using the fixed-declining balance methodDCOUNTDatabaseBuilt-inCounts the cells that contain numbers in a databaseDCOUNTADatabaseBuilt-inCounts nonblank cells in a databaseDEC2BINEngineeringAnalysis ToolPakConverts a decimal number to binaryDEC2HEXEngineeringAnalysis ToolPakConverts a decimal number to hexadecimalDELTAEngineeringAnalysis ToolPakTests whether two values are equalDGETDatabaseBuilt-inExtracts from a database a single record that matches the specified criteriaDMAXDatabaseBuilt-inReturns the maximum value from selected database entriesDMINDatabaseBuilt-inReturns the minimum value from selected database entriesDOLLARTextBuilt-inConverts a number to text, using currency formatDSUMDatabaseBuilt-inAdds the numbers in the field column of records in the database that match the criteriaEDATEDateAnalysis ToolPakReturns the serial number of the date that is the indicated number of months before or after the start dateEOMONTHDateAnalysis ToolPakReturns the serial number of the last day of the month before or after a specified number of monthsERROR.TYPEInformationBuilt-inReturns a number corresponding to an error typeEVENMathematicalBuilt-inRounds a number up to the nearest even integerEXACTTextBuilt-inChecks to see if two text values are identicalFACTMathematicalBuilt-inReturns the factorial of a numberFINDTextBuilt-inFinds one text value within another (case-sensitive)FIXEDTextBuilt-inFormats a number as text with a fixed number of decimalsFLOORMathematicalBuilt-inRounds a number down, toward zeroFORECASTStatisticalBuilt-inReturns a value along a linear trendFREQUENCYStatisticalBuilt-inReturns a frequency distribution as a vertical arrayGCDMathematicalAnalysis ToolPakReturns the greatest common divisorGESTEPEngineeringAnalysis ToolPakTests whether a number is greater than a threshold valueGROWTHStatisticalBuilt-inReturns values along an exponential trendHEX2DECEngineeringAnalysis ToolPakConverts a hexadecimal number to decimalHLOOKUPLookupBuilt-inLooks in the top row of an array and returns the value of the indicated cellHOURDateBuilt-inConverts a serial number to an hourIFLogicalBuilt-inSpecifies a logical test to performINDEXLookupBuilt-inUses an index to choose a value from a reference or arrayINDIRECTLookupBuilt-inReturns a reference indicated by a text valueINFOInformationBuilt-inReturns information about the current operating environmentINTMathematicalBuilt-inRounds a number down to the nearest integerISBLANKInformationBuilt-inReturns TRUE if the value is blankISERRInformationBuilt-inReturns TRUE if the value is any error value except #N/AISERRORInformationBuilt-inReturns TRUE if the value is any error valueISEVENInformationAnalysis ToolPakReturns TRUE if the number is evenISLOGICALInformationBuilt-inReturns TRUE if the value is a logical valueISNAInformationBuilt-inReturns TRUE if the value is the #N/A error valueISNONTEXTInformationBuilt-inReturns TRUE if the value is not textISNUMBERInformationBuilt-inReturns TRUE if the value is a numberISODDInformationAnalysis ToolPakReturns TRUE if the number is oddISREFInformationBuilt-inReturns TRUE if the value is a referenceISTEXTInformationBuilt-inReturns TRUE if the value is textLARGEStatisticalBuilt-inReturns the k-th largest value in a data setLCMMathematicalAnalysis ToolPakReturns the least common multipleLEFTTextBuilt-inReturns the leftmost characters from a text valueLENTextBuilt-inReturns the number of characters in a text stringLOOKUP (vector)LookupBuilt-inLooks up values in a vector or arrayLOWERTextBuilt-inConverts text to lowercaseMATCHLookupBuilt-inLooks up values in a reference or arrayMAXStatisticalBuilt-inReturns the maximum value in a list of argumentsMEDIANStatisticalBuilt-inReturns the median of the given numbersMIDTextBuilt-inReturns a specific number of characters from a text string starting at the position you specifyMINStatisticalBuilt-inReturns the minimum value in a list of argumentsMINUTEDateBuilt-inConverts a serial number to a minuteMINVERSEMathematicalBuilt-inReturns the matrix inverse of an arrayMMULTMathematicalBuilt-inReturns the matrix product of two arraysMODMathematicalBuilt-inReturns the remainder from divisionMODEStatisticalBuilt-inReturns the most common value in a data setMONTHDateBuilt-inConverts a serial number to a monthMROUNDMathematicalAnalysis ToolPakReturns a number rounded to the desired multipleNInformationBuilt-inReturns a value converted to a numberNAInformationBuilt-inReturns the error value #N/ANETWORKDAYSDateAnalysis ToolPakReturns the number of whole workdays between two datesNOTLogicalBuilt-inReverses the logic of its argumentNOWDateBuilt-inReturns the serial number of the current date and timeODDMathematicalBuilt-inRounds a number up to the nearest odd integerORLogicalBuilt-inReturns TRUE if any argument is TRUEPERMUTStatisticalBuilt-inReturns the number of permutations for a given number of objectsPIMathematicalBuilt-inReturns the value of PiPOWERMathematicalBuilt-inReturns the result of a number raised to a powerPRODUCTMathematicalBuilt-inMultiplies its argumentsPROPERTextBuilt-inCapitalises the first letter in each word of a text valueQUARTILEStatisticalBuilt-inReturns the quartile of a data setQUOTIENTMathematicalAnalysis ToolPakReturns the integer portion of a divisionRANDMathematicalBuilt-inReturns a random number between 0 and 1RANDBETWEENMathematicalAnalysis ToolPakReturns a random number between the numbers you specifyRANKStatisticalBuilt-inReturns the rank of a number in a list of numbersREPLACETextBuilt-inReplaces characters within textREPTTextBuilt-inRepeats text a given number of timesRIGHTTextBuilt-inReturns the rightmost characters from a text valueROMANMathematicalBuilt-inConverts an arabic numeral to roman, as textROUNDMathematicalBuilt-inRounds a number to a specified number of digitsROUNDDOWNMathematicalBuilt-inRounds a number down, toward zeroROUNDUPMathematicalBuilt-inRounds a number up, away from zeroSECONDDateBuilt-inConverts a serial number to a secondSIGNMathematicalBuilt-inReturns the sign of a numberSLNFinancialBuilt-inReturns the straight-line depreciation of an asset for one periodSMALLStatisticalBuilt-inReturns the k-th smallest value in a data setSTDEVStatisticalBuilt-inEstimates standard deviation based on a sampleSTDEVPStatisticalBuilt-inCalculates standard deviation based on the entire populationSUBSTITUTETextBuilt-inSubstitutes new text for old text in a text stringSUBTOTALMathematicalBuilt-inReturns a subtotal in a list or databaseSUMMathematicalBuilt-inAdds its argumentsSUM_as_Running_TotalMathematicalBuilt-inSampleSUM_using_namesSampleSampleUsing SUM(jan)SUM_with_OFFSETLookupBuilt-inSampleSUMIFMathematicalBuilt-inAdds the cells specified by a given criteriaSUMPRODUCTMathematicalBuilt-inReturns the sum of the products of corresponding array componentsSYDFinancialBuilt-inReturns the sum-of-years' digits depreciation of an asset for a specified periodTTextBuilt-inConverts its arguments to textTEXTTextBuilt-inFormats a number and converts it to textTIMEDateBuilt-inReturns the serial number of a particular time-TimesheetSampleSampleSampleTIMEVALUEDateBuilt-inConverts a time in the form of text to a serial numberTODAYDateBuilt-inReturns the serial number of today's dateTRANSPOSELookupBuilt-inReturns the transpose of an arrayTRENDStatisticalBuilt-inReturns values along a linear trendTRIMTextBuilt-inRemoves spaces from textTRUNCMathematicalBuilt-inTruncates a number to an integerTYPEInformationBuilt-inReturns a number indicating the data type of a valueUPPERTextBuilt-inConverts text to uppercaseVALUETextBuilt-inConverts a text argument to a numberVARStatisticalBuilt-inEstimates variance based on a sampleVARPStatisticalBuilt-inCalculates variance based on the entire populationVLOOKUPLookupBuilt-inLooks in the first column of an array and moves across the row to return the value of a cellWEEKDAYDateBuilt-inConverts a serial number to a day of the weekWORKDAYDateAnalysis ToolPakReturns the serial number of the date before or after a specified number of workdaysYEARDateBuilt-inConverts a serial number to a yearYEARFRACDateAnalysis ToolPakReturns the year fraction representing the number of whole days between start_date and end_date

&LExcel Function Dictionary 1998 - 2000 Peter Noneley&R&APage &P of &NViewCategoryLocationSortWelcome>

=100,D4>=100)500250=AND(C5>=100,D5>=100)255000=AND(C6>=100,D6>=100)120=AND(D7>=1,D7=AVERAGE($C$29:$C$38),D38>=AVERAGE($D$29:$D$38),E38>=AVERAGE($E$29:$E$38))Averages475460

&LExcel Function Dictionary 1998 - 2000 Peter Noneley&R&APage &P of &NIndex>

D4)10200=NOT(C5=D5)10200=NOT(C6D7)HelloGoodbye0=NOT(C8=D8)HelloHello0=NOT(C9=D9)What Does It Do ?This function performs a test to see if the test fails. (A type of reverse logic).If the test fails, the result is TRUE.If the test is met, then the result is FALSE.Syntax=NOT(TestToPerform)The TestToPerform can be reference to cells or another calculation.FormattingNo special formatting is needed.ExampleThe following table was used by a library to track books borrowed.The date the book was Taken out is entered.The period of the Loan is entered.The date the book was returned is entered.The =NOT() function has been used to calculate whether the book was returned withinthe correct time, by adding the Loan value to the Taken date.If the book was not returned on time the result Overdue is shown, otherwise OK is shown.TakenLoanReturnedStatus1-Jan-98145-Jan-98OK=IF(NOT(D33=$G$24,B29=$G$25,$H$25,0))Column EOrders Per YearThis is how many orders will need to be made based upon the ordering interval.With an interval of 1, there will have to be 365 orders.Calculation :365/OrderingIntervalThis calculation may give results which are decimal, such as 2.3This decimal will cause problems, due to the fact that the number oforders must always be a whole number.The =CEILING() function has been used to 'round up' any decimals tothe next highest whole number.=CEILING(365/A29,1)Column FAnnual Admin CostsThis is the administration costs involved in making the orders.Calculation :OrdersPerYear * AdminCost=E29*$G$20Column GAnnual Warehouse CostsThis is the cost of keeping the stock in the warehouse.It is based on the managers knowledge that on average the stock level is 50% of thequantity ordered.Calculation :QuantityOrdered * AverageStockLevel) * ExhaustCost * WarehousingCost=(B29*$G$21)*$G$17*$G$18Column HAnnual TotalThis is the full yearly cost of ordering the Exhausts, based upon how frequently theorders are made.It does not take in to account the actual costs of the Exhausts, as the manager onlywants to know what the lowest values for the overheads associated with ordering andstoring the exhaust systems.However, the Discount figure is taken into account as this can be used to offset someof the overheads.Calculation :AnnualAdminCosts + AnnualWarehouseCosts - OrderDiscount=F29+G29-D29Column IThe Best Ordering IntervalThis shows the Best ordering interval, giving the lowest annual overheads.It compares the value in column H against the minimum value for all of column H.If the two values match the word Best is shown, otherwise a dash is shown.=IF(H29=MIN($H$29:$H$59),"Best","-")

&LExcel Function Dictionary 1998 - 2000 Peter Noneley&R&APage &P of &NIndex>