Here’s a comprehensive list of 100+ Excel formulas with examples to cover various categories like arithmetic, text manipulation, date and time, lookup, and logical operations. Each formula is accompanied by an example for clarity.
- SUM Adds up values in a range.
- AVERAGE Calculates the average of a range.
- COUNT Counts the number of numeric values in a range.
- COUNTA Counts the number of non-empty cells.
- IF Checks a condition and returns one value if TRUE and another if FALSE.
- IFERROR Returns a custom value if the formula results in an error.
- VLOOKUP Looks for a value in the leftmost column and returns a value in the same row from a specified column.
- HLOOKUP Searches for a value in the top row and returns a value in the same column from a specified row.
- MATCH Returns the relative position of an item in a range.
- INDEX Returns the value of a cell at the intersection of a row and column within a range.
- LEN Returns the number of characters in a text string.
- LEFT Extracts a given number of characters from the start of a text string.
- RIGHT Extracts a given number of characters from the end of a text string.
- MID Returns a specific number of characters from a text string starting at a position you specify.
- TRIM Removes all extra spaces from text except for single spaces between words.
- CONCATENATE (or CONCAT) Joins two or more text strings into one.
- SUBSTITUTE Replaces occurrences of old text with new text.
- REPLACE Replaces part of a text string based on the number of characters.
- SEARCH Returns the position of a substring within a string (case-insensitive).
- FIND Returns the position of a substring within a string (case-sensitive).
- UPPER Converts text to uppercase.
- LOWER Converts text to lowercase.
- PROPER Converts the first letter of each word in a text string to uppercase.
- NOW Returns the current date and time.
- TODAY Returns the current date.
- YEAR Returns the year of a date.
- MONTH Returns the month of a date.
- DAY Returns the day of a date.
- HOUR Returns the hour of a time.
- MINUTE Returns the minute of a time.
- SECOND Returns the second of a time.
- TEXT Formats a number or date as text in a specified format.
- DATEDIF Calculates the difference between two dates.
- NETWORKDAYS Returns the number of working days between two dates.
- WEEKDAY Returns the day of the week for a date.
- EOMONTH Returns the last day of the month, a specified number of months in the future or past.
- SUMIF Adds the cells that meet a single condition.
- COUNTIF Counts the number of cells that meet a single condition.
- AVERAGEIF Calculates the average of cells that meet a specific condition.
- ROUND Rounds a number to a specified number of digits.
- ROUNDUP Rounds a number up to a specified number of digits.
- INT Rounds a number down to the nearest integer.
- MOD Returns the remainder from a division.
- POWER Returns the result of a number raised to a power.
- SQRT Returns the square root of a number.
- RAND Returns a random number between 0 and 1.
- RANDBETWEEN Returns a random integer between two values.
- PI Returns the value of Ï€ (3.14159…).
- ABS Returns the absolute value of a number.
=SUM(A1:A5)
=AVERAGE(B1:B5)
=COUNT(C1:C10)
=COUNTA(D1:D10)
=IF(E1>100, "Pass", "Fail")
=IFERROR(A1/B1, "Error")
=VLOOKUP(A2, A1:D10, 2, FALSE)
=HLOOKUP(B1, A1:D5, 3, FALSE)
=MATCH("Apples", A1:A10, 0)
=INDEX(A1:C10, 3, 2)
=LEN(A1)
=LEFT(A1, 3)
=RIGHT(A1, 4)
=MID(A1, 2, 5)
=TRIM(A1)
=CONCATENATE(A1, " ", B1)
=SUBSTITUTE(A1, "old", "new")
=REPLACE(A1, 2, 3, "XYZ")
=SEARCH("apple", A1)
=FIND("Apple", A1)
=UPPER(A1)
=LOWER(A1)
=PROPER(A1)
=NOW()
=TODAY()
=YEAR(A1)
=MONTH(A1)
=DAY(A1)
=HOUR(A1)
=MINUTE(A1)
=SECOND(A1)
=TEXT(A1, "mm/dd/yyyy")
=DATEDIF(A1, B1, "d")
=NETWORKDAYS(A1, B1)
=WEEKDAY(A1)
=EOMONTH(A1, 2)
=SUMIF(A1:A10, ">50")
=COUNTIF(A1:A10, "Yes")
=AVERAGEIF(A1:A10, ">50")
=ROUND(A1, 2)
=ROUNDUP(A1, 2)
=ROUNDDOWN(A1, 2)
=INT(A1)
=MOD(A1, 3)
=POWER(A1, 3)
=SQRT(A1)
=RAND()
=RANDBETWEEN(1, 100)
=PI()
=ABS(A1)
Here’s a list of Excel financial formulas with examples that are commonly used for investment analysis, loan calculations, and financial planning.
- FV (Future Value) Calculates the future value of an investment based on constant periodic payments and a constant interest rate.
- PV (Present Value) Calculates the present value of an investment or loan based on constant periodic payments and a constant interest rate.
- NPV (Net Present Value) Calculates the net present value of an investment based on a series of future cash flows and a discount rate.
- IRR (Internal Rate of Return) Calculates the internal rate of return for a series of cash flows (including both initial investments and net income).
- XIRR Calculates the internal rate of return for irregular cash flows over specific dates.
- PMT (Payment) Calculates the periodic payment for a loan based on constant payments and a constant interest rate.
- PPMT (Principal Payment) Returns the principal portion of a payment for a given period.
- IPMT (Interest Payment) Returns the interest portion of a payment for a given period.
- RATE Calculates the interest rate per period of a loan or investment.
- EFFECT Calculates the effective annual interest rate, given the nominal interest rate and the number of compounding periods per year.
- NOMINAL Calculates the nominal interest rate given the effective rate and the number of compounding periods per year.
- CUMIPMT (Cumulative Interest Payment) Calculates the cumulative interest paid on a loan between two periods.
- CUMPRINC (Cumulative Principal Payment) Calculates the cumulative principal paid on a loan between two periods.
- SLN (Straight-Line Depreciation) Calculates the straight-line depreciation of an asset for one period.
- DB (Declining Balance Depreciation) Calculates the declining balance depreciation of an asset for a specific period.
- DDB (Double Declining Balance Depreciation) Calculates the depreciation of an asset for a specific period using the double-declining balance method.
- SYD (Sum-of-Years' Digits Depreciation) Calculates the sum-of-years' digits depreciation of an asset for a specific period.
- MIRR (Modified Internal Rate of Return) Calculates the modified internal rate of return for a series of periodic cash flows, considering both the cost of the investment and interest received on reinvestment of cash.
- XNPV Calculates the net present value for cash flows at irregular intervals.
- AMORLINC Calculates the depreciation for each accounting period using a straight-line depreciation method.
=FV(5%, 10, -200, -5000)
In this example: - Interest rate: 5% (annual) - Periods: 10 years - Payment: -200 (monthly payment) - Present value: -5000 (initial investment)
=PV(4%, 5, -1000, 10000)
In this example: - Interest rate: 4% (annual) - Periods: 5 years - Payment: -1000 (annual payment) - Future value: 10000 (future sum you want)
=NPV(8%, A1:A5) + A1
=IRR(A1:A6)
=XIRR(A1:A6, B1:B6)
Where: - A1:A6 contains the cash flows. - B1:B6 contains the corresponding dates for each cash flow.
=PMT(6%/12, 30*12, -100000)
In this example: - Interest rate: 6% (annual, divided by 12 for monthly) - Periods: 30 years (multiplied by 12 for monthly payments) - Loan amount: -100,000
=PPMT(6%/12, 5, 30*12, -100000)
=IPMT(6%/12, 5, 30*12, -100000)
=RATE(30*12, -600, 100000)
In this example: - Periods: 30 years (multiplied by 12 for monthly payments) - Payment: -600 (monthly payment) - Loan amount: 100,000
=EFFECT(6%, 12)
In this example: - Nominal rate: 6% - Compounding periods: 12 (monthly)
=NOMINAL(6.17%, 12)
=CUMIPMT(5%/12, 30*12, 200000, 13, 24, 0)
=CUMPRINC(5%/12, 30*12, 200000, 13, 24, 0)
=SLN(10000, 2000, 5)
Where: - 10,000 is the initial cost of the asset. - 2,000 is the salvage value. - 5 is the useful life in years.
=DB(10000, 2000, 5, 1)
Where: - 10,000 is the initial cost of the asset. - 2,000 is the salvage value. - 5 is the useful life. - 1 is the current period.
=DDB(10000, 2000, 5, 1)
Where: - 10,000 is the initial cost of the asset. - 2,000 is the salvage value. - 5 is the useful life. - 1 is the current period.
=SYD(10000, 2000, 5, 1)
Where: - 10,000 is the initial cost of the asset. - 2,000 is the salvage value. - 5 is the useful life. - 1 is the current period.
=MIRR(A1:A6, 10%, 12%)
Where: - A1:A6 contains the cash flows. - 10% is the cost of the investment. - 12% is the reinvestment rate.
=XNPV(10%, A1:A6, B1:B6)
Where: - A1:A6 contains the cash flows. - B1:B6 contains the dates for the cash flows. - 10% is the discount rate.
=AMORLINC(10000, 500, "2022-01-01", "2027-01-01", 1, 0.1)
Where: - 10,000 is the cost of the asset. - 500 is the salvage value. - "2022-01-01" is the start date. - "2027-01-01" is the end date. - 1 specifies the period (in years). - 0.1 is the depreciation rate.These financial formulas help with a variety of financial calculations, including loans, investments, depreciation, and more. If you'd like more details on a particular financial formula or application, feel free to ask!
Here’s a list of Excel statistical formulas with examples. These are essential for data analysis, descriptive statistics, and statistical modeling.
- MEDIAN Returns the median (middle value) of a group of numbers.
- MODE.SNGL Returns the most frequent value in a dataset.
- MODE.MULT Returns an array of the most frequent values in a dataset.
- STDEV.P (Population Standard Deviation) Calculates the standard deviation based on the entire population.
- STDEV.S (Sample Standard Deviation) Calculates the standard deviation based on a sample.
- VAR.P (Population Variance) Calculates the variance based on the entire population.
- VAR.S (Sample Variance) Calculates the variance based on a sample.
- COUNT Counts the number of cells that contain numbers.
- COUNTA Counts the number of non-empty cells.
- COUNTBLANK Counts the number of empty cells in a range.
- COUNTIF Counts the number of cells that meet a specific condition.
- COUNTIFS Counts the number of cells that meet multiple conditions.
- PERCENTILE.EXC Returns the k-th percentile of values in a range, where k is between 0 and 1 (exclusive).
- PERCENTILE.INC Returns the k-th percentile of values in a range, where k is between 0 and 1 (inclusive).
- PERCENTRANK.EXC Returns the rank of a value in a dataset as a percentage, excluding 0 and 1.
- PERCENTRANK.INC Returns the rank of a value in a dataset as a percentage, including 0 and 1.
- QUARTILE.EXC Returns the quartile of a dataset, based on percentiles, excluding 0 and 1.
- QUARTILE.INC Returns the quartile of a dataset, including 0 and 1.
- LARGE Returns the k-th largest value in a dataset.
- SMALL Returns the k-th smallest value in a dataset.
- MAX Returns the largest value in a range.
- MIN Returns the smallest value in a range.
- RANK.EQ Returns the rank of a number in a list of numbers. Equal numbers receive the same rank.
- RANK.AVG Returns the rank of a number in a list of numbers, with the average rank for ties.
- FREQUENCY Calculates how often values occur within a range of values and returns a vertical array of numbers.
- CORREL Returns the correlation coefficient between two data sets.
- COVARIANCE.P Calculates the covariance of two data sets (population).
- COVARIANCE.S Calculates the covariance of two data sets (sample).
- SKEW Returns the skewness of a distribution (degree of asymmetry of the distribution).
- KURT Returns the kurtosis of a data set (the peakedness of the distribution).
- NORM.DIST Returns the normal distribution for a specified mean and standard deviation.
- NORM.INV Returns the inverse of the normal cumulative distribution.
- T.DIST Returns the Student’s t-distribution.
- T.INV Returns the inverse of the Student’s t-distribution.
=MEDIAN(A1:A10)
=MODE.SNGL(A1:A10)
=MODE.MULT(A1:A10)
=STDEV.P(A1:A10)
=STDEV.S(A1:A10)
=VAR.P(A1:A10)
=VAR.S(A1:A10)
=COUNT(A1:A10)
=COUNTA(A1:A10)
=COUNTBLANK(A1:A10)
=COUNTIF(A1:A10, ">10")
=COUNTIFS(A1:A10, ">10", B1:B10, ">20")
=PERCENTILE.EXC(A1:A10, 0.9)
=PERCENTILE.INC(A1:A10, 0.9)
=PERCENTRANK.EXC(A1:A10, 50)
=PERCENTRANK.INC(A1:A10, 50)
=QUARTILE.EXC(A1:A10, 1)
=QUARTILE.INC(A1:A10, 1)
=LARGE(A1:A10, 3)
=SMALL(A1:A10, 2)
=MAX(A1:A10)
=MIN(A1:A10)
=RANK.EQ(A1, A1:A10)
=RANK.AVG(A1, A1:A10)
=FREQUENCY(A1:A10, B1:B5)
=CORREL(A1:A10, B1:B10)
=COVARIANCE.P(A1:A10, B1:B10)
=COVARIANCE.S(A1:A10, B1:B10)
=SKEW(A1:A10)
=KURT(A1:A10)
=NORM.DIST(50, 40, 10, TRUE)
=NORM.INV(0.9, 40, 10)
=T.DIST(1.5, 9, TRUE)
=T.INV(0.9, 9)