StepFormula · Excel Function Playground
Learn Excel functions by moving them yourself
Drag a range, change a value, and the formula and explanation update instantly. Play back each calculation one step at a time to see exactly how Excel gets its answer.
Searches 174 functions, 10 calculators and 22 guides at once.
- CalculatorH-Beam Weight Calculator (kg per Metre)
- CalculatorHex Bolt Weight Calculator (M3 to M24)
- CalculatorSteel Coil Length Calculator (Weight, Length and Diameter)
- CalculatorParts per Sheet Calculator (Sheet Nesting Yield)
- CalculatorCutting Speed, Spindle Speed (RPM) and Feed Calculator
- CalculatorMachining Time Calculator (Turning and Face Milling)
- CalculatorFit Tolerance Calculator (H7/g6 Clearance and Interference)
- CalculatorWelding Consumable Calculator (Fillet and V-Groove)
- CalculatorPunching Force Calculator (Press Tonnage)
- CalculatorPneumatic Cylinder Force Calculator (Push and Pull)
- GuideHow to Calculate Age in Excel
- GuideHow to Calculate Years of Service in Excel
- GuideHow to Find, Mark and Count Duplicates in Excel
- GuideHow to Rank in Excel (Including Ties)
- GuideHow to Add a Line Break in an Excel Cell (Including Formulas)
- GuideHow to Remove Spaces in Excel (Leading, Trailing, Extra and All)
- GuideHow to Sum Only Filtered Rows in Excel
- GuideHow to Calculate Loan Payments, Interest Rates and Terms in Excel
- GuideHow to Get Rid of #N/A Errors in Excel (VLOOKUP Not Found)
- GuideHow to Calculate Dates Excluding Weekends and Holidays in Excel
- GuideRounding in Excel: Round, Round Up and Round Down to Any Unit
- GuideHow to Convert Numbers Stored as Text to Numbers in Excel
- GuideHow to Fix the #VALUE! Error in Excel
- GuideHow to Fix the #REF! Error in Excel
- GuideHow to Fix the #DIV/0! Error in Excel
- GuideHow to Fix the #NAME? Error in Excel
- GuideHow to Fix the #NUM! Error in Excel
- GuideHow to Fix the #SPILL! Error in Excel
- GuideHow to Fix the #CALC! Error in Excel
- GuideHow to Generate Random Numbers in Excel
- GuideHow to Extract the Month, Year or Day from a Date in Excel
- GuideHow to Change Uppercase and Lowercase in Excel
Shop floor calculators10
See all →Weight, machining and fabrication formulas with every step and the matching Excel formula.
Functions 174
Lookup & reference21
- ADDRESSAll versionsBuilds a cell address as text (such as "$C$5") from a row and column number.
- AREASAll versionsCounts the number of separate areas in a reference.
- CHOOSEAll versionsReturns the value at the position given by an index number.
- COLUMNAll versionsReturns the column number of a cell.
- COLUMNSAll versionsCounts the columns in a range.
- FILTERExcel 2021+Returns only the rows that meet a condition, spilled into several cells.
- HLOOKUPAll versionsFinds a value in the first row of a table and returns a value from a lower row in the same column.
- INDEXAll versionsReturns the value at a given row and column position inside a range.
- INDIRECTAll versionsTurns address text such as "C5" into a real reference and returns that cell's value.
- LOOKUPAll versionsFinds the largest value less than or equal to lookup_value in a sorted range and returns the value in the same position of another range.
- MATCHAll versionsReturns the position of a value within a range.
- OFFSETAll versionsPoints to the cell (or range) a given number of rows and columns away from a reference cell.
- ROWAll versionsReturns the row number of a cell.
- ROWSAll versionsCounts the rows in a range.
- SORTExcel 2021+Sorts a range by a chosen column and spills the result into several cells.
- SORTBYExcel 2021+Sorts a range by the values in another range.
- TRANSPOSEAll versionsSwaps the rows and columns of a range.
- UNIQUEExcel 2021+Returns the values (or rows) of a range with duplicates removed.
- VLOOKUPAll versionsFinds a value in the first column of a table and returns a value from another column in the same row.
- XLOOKUPExcel 2021+Finds a value in one range and returns the value at the same position in another range. It can return values to the left, too.
- XMATCHExcel 2021+Returns the position of a value in a range. Exact match is the default, and it can search from the bottom.
Math & trig38
- ABSAll versionsReturns the absolute value of a number (the number without its sign).
- CEILINGAll versionsRounds a number up to the nearest multiple of significance.
- COMBINAll versionsReturns the number of combinations (ways to choose, order does not matter).
- EVENAll versionsRounds a number away from zero to the nearest even integer.
- EXPAll versionsReturns e (about 2.71828) raised to the power of a number.
- FACTAll versionsReturns the factorial of a number (1 × 2 × … × n).
- FLOORAll versionsRounds a number down to the nearest multiple of significance.
- GCDAll versionsReturns the greatest common divisor of two integers. Decimals use only the integer part.
- INTAll versionsRounds a number down to the nearest integer.
- LCMAll versionsReturns the least common multiple of two integers. Decimals use only the integer part.
- LNAll versionsReturns the natural logarithm (base e) of a number.
- LOGAll versionsReturns the logarithm of a number to the base you choose. If omitted, the base is 10.
- LOG10All versionsReturns the base-10 logarithm of a number.
- MDETERMAll versionsReturns the determinant of a square matrix.
- MINVERSEAll versionsReturns the inverse of a square matrix.
- MMULTAll versionsMultiplies two matrices.
- MODAll versionsReturns the remainder after division. The result has the same sign as the divisor.
- MROUNDAll versionsRounds a number to the nearest multiple you choose.
- ODDAll versionsRounds a number away from zero to the nearest odd integer.
- PERMUTAll versionsReturns the number of permutations (ways to arrange, order matters).
- PIAll versionsReturns π (about 3.14159265358979).
- POWERAll versionsRaises a number to a power.
- PRODUCTAll versionsMultiplies all the numbers in a range.
- QUOTIENTAll versionsReturns only the integer part of a division.
- RANDAll versionsReturns a random number from 0 up to (but not including) 1. It changes on every recalculation.
- RANDBETWEENAll versionsReturns a random integer between two numbers.
- ROUNDAll versionsRounds a number to a given number of digits.
- ROUNDDOWNAll versionsRounds a number down (toward zero) to a given number of digits.
- ROUNDUPAll versionsRounds a number up (away from zero) to a given number of digits.
- SEQUENCEExcel 2021+Fills several cells with numbers that rise by a fixed step, like 1, 2, 3.
- SIGNAll versionsReturns the sign of a number as 1, 0 or -1.
- SQRTAll versionsReturns the positive square root of a number.
- SUBTOTALAll versionsReturns a subtotal of a list, leaving out other SUBTOTAL results in the range.
- SUMAll versionsAdds all the numbers. Text and blank cells are skipped.
- SUMIFAll versionsAdds only the values in rows that meet a condition.
- SUMIFSAll versionsAdds only the values in rows that meet all of several conditions.
- SUMPRODUCTAll versionsMultiplies values in matching positions and adds the results.
- TRUNCAll versionsTruncates a number by cutting off the decimal part.
Statistical31
- AVERAGEAll versionsReturns the average of the numbers. Text and blanks are left out, but 0 is included.
- AVERAGEAAll versionsReturns the average, counting text as 0.
- AVERAGEIFAll versionsAverages only the values in rows that meet a condition.
- AVERAGEIFSAll versionsAverages only the values in rows that meet every condition.
- COUNTAll versionsCounts the cells that contain numbers.
- COUNTAAll versionsCounts the cells that are not empty, numbers and text alike.
- COUNTBLANKAll versionsCounts the empty cells in a range.
- COUNTIFAll versionsCounts the cells in a range that meet a condition.
- COUNTIFSAll versionsCounts the rows that meet all of several conditions.
- FREQUENCYAll versionsCounts how many values fall in each band and returns the counts as a vertical array.
- GEOMEANAll versionsReturns the geometric mean of positive numbers.
- HARMEANAll versionsReturns the harmonic mean of positive numbers.
- LARGEAll versionsReturns the k-th largest value.
- MAXAll versionsReturns the largest number.
- MAXAAll versionsReturns the largest value, counting text as 0.
- MAXIFSExcel 2019+Returns the largest value among rows that meet every condition.
- MEDIANAll versionsReturns the middle value (median) of the numbers.
- MINAll versionsReturns the smallest number.
- MINAAll versionsReturns the smallest value, counting text as 0.
- MINIFSExcel 2019+Returns the smallest value among rows that meet every condition.
- MODE.SNGLAll versionsReturns the most frequent value (mode).
- PERCENTILE.INCAll versionsReturns the k-th percentile of the values in a range.
- QUARTILE.INCAll versionsReturns a quartile of the data (the 0%, 25%, 50%, 75% or 100% point).
- RANKAll versionsReturns the rank of a value within a range. A compatibility function that calculates the same as RANK.EQ.
- RANK.AVGAll versionsReturns the rank of a value within a range. Ties get the average of their ranks.
- RANK.EQAll versionsReturns the rank of a value within a range.
- SMALLAll versionsReturns the k-th smallest value.
- STDEV.PAll versionsReturns the standard deviation of an entire population.
- STDEV.SAll versionsReturns the standard deviation of a sample (how spread out the values are).
- VAR.PAll versionsReturns the variance of an entire population.
- VAR.SAll versionsReturns the variance of a sample (the squared spread).
Logical10
- ANDAll versionsReturns TRUE if every condition is true, FALSE if any is false.
- FALSEAll versionsReturns the logical value FALSE.
- IFAll versionsReturns one value if a condition is true and another value if it is false.
- IFERRORAll versionsReturns a value you choose if a formula results in an error; otherwise returns the formula's result.
- IFNAAll versionsReturns a value you choose only when a formula gives #N/A; otherwise returns the formula result.
- IFSExcel 2019+Tests several conditions from the top and returns the value of the first one that is true.
- NOTAll versionsReverses TRUE and FALSE.
- ORAll versionsReturns TRUE if any condition is true, FALSE if all are false.
- SWITCHExcel 2019+Compares a value with a list in order and returns the result for the first match.
- TRUEAll versionsReturns the logical value TRUE.
Text22
- CHARAll versionsReturns the character for a character code (1–255).
- CODEAll versionsReturns the character code of the first character of a text.
- CONCATExcel 2019+Joins the text from several cells or ranges into one.
- CONCATENATEAll versionsJoins several texts into one, in order.
- EXACTAll versionsChecks whether two texts are exactly the same, case included.
- FINDAll versionsReturns the position of one text inside another (case-sensitive).
- FIXEDAll versionsRounds a number and converts it to text with commas.
- LEFTAll versionsReturns the given number of characters from the start (left) of a text.
- LENAll versionsCounts the characters in a text. A space counts as one character.
- LOWERAll versionsConverts letters to lowercase.
- MIDAll versionsReturns a given number of characters from the middle of a text, starting at a position you choose.
- PROPERAll versionsCapitalizes the first letter of each word and lowercases the rest.
- REPLACEAll versionsReplaces a number of characters at a given position with other text.
- REPTAll versionsRepeats text a given number of times.
- RIGHTAll versionsReturns the given number of characters from the end (right) of a text.
- SEARCHAll versionsReturns the position of one text inside another (case ignored, wildcards allowed).
- SUBSTITUTEAll versionsReplaces specific text inside a text with other text.
- TEXTAll versionsConverts a number or date into text with the format you choose.
- TEXTJOINExcel 2019+Joins text from several cells with a delimiter between them.
- TRIMAll versionsRemoves leading and trailing spaces and leaves single spaces between words.
- UPPERAll versionsConverts letters to uppercase.
- VALUEAll versionsConverts text that looks like a number into a real number.
Date & time21
- DATEAll versionsCombines year, month and day numbers into a single date.
- DATEDIFAll versionsCounts the complete years, months or days between two dates. Use it for ages and lengths of service.
- DATEVALUEAll versionsConverts a date written as text into a date serial number.
- DAYAll versionsReturns the day (1–31) of a date as a number.
- DAYSAll versionsReturns the number of days between two dates (end_date - start_date).
- EDATEAll versionsReturns the same day a number of months later (or earlier).
- EOMONTHAll versionsReturns the last day of the month a number of months later (or earlier).
- HOURAll versionsReturns the hour of a time as a number.
- MINUTEAll versionsReturns the minute of a time as a number.
- MONTHAll versionsReturns the month (1–12) of a date as a number.
- NETWORKDAYSAll versionsCounts the workdays between two dates, leaving out weekends and holidays.
- NETWORKDAYS.INTLAll versionsCounts the workdays between two dates, with days off you choose.
- NOWAll versionsReturns the current date and time. It changes on every recalculation.
- SECONDAll versionsReturns the second of a time as a number.
- TIMEAll versionsCombines hour, minute and second numbers into one time.
- TODAYAll versionsReturns today's date. It updates every time the file recalculates.
- WEEKDAYAll versionsReturns the day of the week of a date as a number.
- WEEKNUMAll versionsReturns which week of the year a date falls in.
- WORKDAYAll versionsReturns the date a given number of workdays away, skipping weekends and holidays.
- WORKDAY.INTLAll versionsReturns the date a given number of workdays away, with days off you choose.
- YEARAll versionsReturns the year (1900–9999) of a date as a number.
Database10
- DAVERAGEAll versionsAverages the field values of records that meet the criteria.
- DCOUNTAll versionsCounts the matching records whose field holds a number.
- DCOUNTAAll versionsCounts the matching records whose field is not empty.
- DGETAll versionsReturns the field value of the single record that meets the criteria.
- DMAXAll versionsReturns the largest field value among records that meet the criteria.
- DMINAll versionsReturns the smallest field value among records that meet the criteria.
- DPRODUCTAll versionsMultiplies the field values of records that meet the criteria.
- DSTDEVAll versionsReturns the sample standard deviation of the matching field values.
- DSUMAll versionsAdds the field values of records that meet the criteria.
- DVARAll versionsReturns the sample variance of the matching field values.
Financial9
- FVAll versionsReturns how much you will have at maturity when you put in the same amount each period.
- IRRAll versionsReturns the internal rate of return: the rate that makes the net present value of cash flows zero.
- NPERAll versionsReturns how many periods it takes to pay off a loan or reach a savings goal with equal payments.
- NPVAll versionsReturns the net present value of future cash flows at a discount rate.
- PMTAll versionsReturns the payment for a loan paid back in equal amounts.
- PVAll versionsReturns the present value of equal payments to be received or paid.
- RATEAll versionsWorks out the interest rate per period from the term, payment and loan.
- SLNAll versionsReturns straight-line depreciation for one period.
- SYDAll versionsReturns sum-of-years' digits depreciation for a given year.
Information12
- CELLAll versionsReturns information about a cell, such as its address, position, value or type.
- ISBLANKAll versionsChecks whether a value is a blank cell.
- ISERRAll versionsChecks whether a value is an error other than #N/A.
- ISERRORAll versionsChecks whether a value is an error (including #N/A).
- ISEVENAll versionsChecks whether a number is even.
- ISLOGICALAll versionsChecks whether a value is a logical value (TRUE or FALSE).
- ISNAAll versionsChecks whether a value is the #N/A error.
- ISNONTEXTAll versionsChecks whether a value is not text.
- ISNUMBERAll versionsChecks whether a value is a number.
- ISODDAll versionsChecks whether a number is odd.
- ISTEXTAll versionsChecks whether a value is text.
- TYPEAll versionsReturns a number that tells you the type of a value.
Version badges are shown only for functions checked against Microsoft's support documentation. "All versions" means every currently supported version of Excel.