100+ Excel Formulas

Prince Patel
By -
0

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.




  1. SUM
  2. Adds up values in a range.
    =SUM(A1:A5)
    Adds values from A1 to A5.
  3. AVERAGE
  4. Calculates the average of a range.
    =AVERAGE(B1:B5)
    Returns the average of values in cells B1 to B5.
  5. COUNT
  6. Counts the number of numeric values in a range.
    =COUNT(C1:C10)
    Counts how many numbers are in C1 to C10.
  7. COUNTA
  8. Counts the number of non-empty cells.
    =COUNTA(D1:D10)
    Counts non-empty cells in D1 to D10.
  9. IF
  10. Checks a condition and returns one value if TRUE and another if FALSE.
    =IF(E1>100, "Pass", "Fail")
    Returns "Pass" if E1 is greater than 100, otherwise "Fail".
  11. IFERROR
  12. Returns a custom value if the formula results in an error.
    =IFERROR(A1/B1, "Error")
    If there is an error in A1/B1, it returns "Error", otherwise, the result of A1/B1.
  13. VLOOKUP
  14. Looks for a value in the leftmost column and returns a value in the same row from a specified column.
    =VLOOKUP(A2, A1:D10, 2, FALSE)
    Looks for the value of A2 in the range A1:D10 and returns the value from the 2nd column of the same row.
  15. HLOOKUP
  16. Searches for a value in the top row and returns a value in the same column from a specified row.
    =HLOOKUP(B1, A1:D5, 3, FALSE)
    Searches for the value of B1 in the top row and returns the value from the 3rd row of the same column.
  17. MATCH
  18. Returns the relative position of an item in a range.
    =MATCH("Apples", A1:A10, 0)
    Finds the position of "Apples" in the range A1:A10.
  19. INDEX
  20. Returns the value of a cell at the intersection of a row and column within a range.
    =INDEX(A1:C10, 3, 2)
    Returns the value at the intersection of the 3rd row and 2nd column in the range A1:C10.
  21. LEN
  22. Returns the number of characters in a text string.
    =LEN(A1)
    Returns the length of the text in cell A1.
  23. LEFT
  24. Extracts a given number of characters from the start of a text string.
    =LEFT(A1, 3)
    Returns the first 3 characters from the text in A1.
  25. RIGHT
  26. Extracts a given number of characters from the end of a text string.
    =RIGHT(A1, 4)
    Returns the last 4 characters from the text in A1.
  27. MID
  28. Returns a specific number of characters from a text string starting at a position you specify.
    =MID(A1, 2, 5)
    Returns 5 characters starting from the 2nd position in the text in A1.
  29. TRIM
  30. Removes all extra spaces from text except for single spaces between words.
    =TRIM(A1)
    Removes excess spaces from the text in A1.
  31. CONCATENATE (or CONCAT)
  32. Joins two or more text strings into one.
    =CONCATENATE(A1, " ", B1)
    Combines the text in A1 and B1 with a space in between.
  33. SUBSTITUTE
  34. Replaces occurrences of old text with new text.
    =SUBSTITUTE(A1, "old", "new")
    Replaces all instances of "old" with "new" in the text in A1.
  35. REPLACE
  36. Replaces part of a text string based on the number of characters.
    =REPLACE(A1, 2, 3, "XYZ")
    Replaces 3 characters in A1 starting at the 2nd position with "XYZ".
  37. SEARCH
  38. Returns the position of a substring within a string (case-insensitive).
    =SEARCH("apple", A1)
    Finds the position of "apple" in the text in A1.
  39. FIND
  40. Returns the position of a substring within a string (case-sensitive).
    =FIND("Apple", A1)
    Finds the position of "Apple" in the text in A1.
  41. UPPER
  42. Converts text to uppercase.
    =UPPER(A1)
    Converts the text in A1 to uppercase.
  43. LOWER
  44. Converts text to lowercase.
    =LOWER(A1)
    Converts the text in A1 to lowercase.
  45. PROPER
  46. Converts the first letter of each word in a text string to uppercase.
    =PROPER(A1)
    Converts the text in A1 to proper case (e.g., "john doe" becomes "John Doe").
  47. NOW
  48. Returns the current date and time.
    =NOW()
    Returns the current date and time.
  49. TODAY
  50. Returns the current date.
    =TODAY()
    Returns today’s date.
  51. YEAR
  52. Returns the year of a date.
    =YEAR(A1)
    Returns the year from the date in A1.
  53. MONTH
  54. Returns the month of a date.
    =MONTH(A1)
    Returns the month from the date in A1.
  55. DAY
  56. Returns the day of a date.
    =DAY(A1)
    Returns the day from the date in A1.
  57. HOUR
  58. Returns the hour of a time.
    =HOUR(A1)
    Returns the hour from the time in A1.
  59. MINUTE
  60. Returns the minute of a time.
    =MINUTE(A1)
    Returns the minute from the time in A1.
  61. SECOND
  62. Returns the second of a time.
    =SECOND(A1)
    Returns the second from the time in A1.
  63. TEXT
  64. Formats a number or date as text in a specified format.
    =TEXT(A1, "mm/dd/yyyy")
    Converts the date in A1 to "mm/dd/yyyy" format.
  65. DATEDIF
  66. Calculates the difference between two dates.
    =DATEDIF(A1, B1, "d")
    Calculates the number of days between A1 and B1.
  67. NETWORKDAYS
  68. Returns the number of working days between two dates.
    =NETWORKDAYS(A1, B1)
    Returns the number of weekdays between two dates, excluding weekends.
  69. WEEKDAY
  70. Returns the day of the week for a date.
    =WEEKDAY(A1)
    Returns a number representing the day of the week for the date in A1 (e.g., 1 = Sunday).
  71. EOMONTH
  72. Returns the last day of the month, a specified number of months in the future or past.
    =EOMONTH(A1, 2)
    Returns the last day of the month, two months after the date in A1.
  73. SUMIF
  74. Adds the cells that meet a single condition.
    =SUMIF(A1:A10, ">50")
    Adds all values in A1:A10 that are greater than 50.
  75. COUNTIF
  76. Counts the number of cells that meet a single condition.
    =COUNTIF(A1:A10, "Yes")
    Counts the number of cells in A1:A10 that contain "Yes".
  77. AVERAGEIF
  78. Calculates the average of cells that meet a specific condition.
    =AVERAGEIF(A1:A10, ">50")
    Averages all values in A1:A10 that are greater than 50.
  79. ROUND
  80. Rounds a number to a specified number of digits.
    =ROUND(A1, 2)
    Rounds the value in A1 to 2 decimal places.
  81. ROUNDUP
  82. Rounds a number up to a specified number of digits.
    =ROUNDUP(A1, 2)
    Rounds the value in A1 up to 2 decimal places.
  83. UNDDOWN** Rounds a number down to a specified number of digits.
    =ROUNDDOWN(A1, 2)
    Rounds the value in A1 down to 2 decimal places.
  84. INT
  85. Rounds a number down to the nearest integer.
    =INT(A1)
    Rounds the value in A1 down to the nearest integer.
  86. MOD
  87. Returns the remainder from a division.
    =MOD(A1, 3)
    Returns the remainder of A1 divided by 3.
  88. POWER
  89. Returns the result of a number raised to a power.
    =POWER(A1, 3)
    Returns the result of A1 raised to the power of 3.
  90. SQRT
  91. Returns the square root of a number.
    =SQRT(A1)
    Returns the square root of the value in A1.
  92. RAND
  93. Returns a random number between 0 and 1.
    =RAND()
    Generates a random number between 0 and 1.
  94. RANDBETWEEN
  95. Returns a random integer between two values.
    =RANDBETWEEN(1, 100)
    Generates a random integer between 1 and 100.
  96. PI
  97. Returns the value of Ï€ (3.14159…).
    =PI()
    Returns the value of pi.
  98. ABS
  99. Returns the absolute value of a number.
    =ABS(A1)
    Returns the absolute value of A1.

Here’s a list of Excel financial formulas with examples that are commonly used for investment analysis, loan calculations, and financial planning.

  1. FV (Future Value)
  2. Calculates the future value of an investment based on constant periodic payments and a constant interest rate.
    =FV(5%, 10, -200, -5000)
    In this example:
    - Interest rate: 5% (annual)
    - Periods: 10 years
    - Payment: -200 (monthly payment)
    - Present value: -5000 (initial investment)
    
  3. PV (Present Value)
  4. Calculates the present value of an investment or loan based on constant periodic payments and a constant interest rate.
    =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)
    
  5. NPV (Net Present Value)
  6. Calculates the net present value of an investment based on a series of future cash flows and a discount rate.
    =NPV(8%, A1:A5) + A1
    Where A1:A5 contains projected cash flows. The formula adds the initial investment (A1) to the calculated net present value at an 8% discount rate.
  7. IRR (Internal Rate of Return)
  8. Calculates the internal rate of return for a series of cash flows (including both initial investments and net income).
    =IRR(A1:A6)
    Where A1:A6 represents the range of cash flows, including initial investment (which is negative) and future incomes (positive).
  9. XIRR
  10. Calculates the internal rate of return for irregular cash flows over specific dates.
    =XIRR(A1:A6, B1:B6)
    Where:
    - A1:A6 contains the cash flows.
    - B1:B6 contains the corresponding dates for each cash flow.
    
  11. PMT (Payment)
  12. Calculates the periodic payment for a loan based on constant payments and a constant interest rate.
    =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
    
  13. PPMT (Principal Payment)
  14. Returns the principal portion of a payment for a given period.
    =PPMT(6%/12, 5, 30*12, -100000)
    This formula calculates the principal payment in the 5th period of a 30-year loan with a 6% annual interest rate.
  15. IPMT (Interest Payment)
  16. Returns the interest portion of a payment for a given period.
    =IPMT(6%/12, 5, 30*12, -100000)
    This formula calculates the interest portion of the 5th payment of a loan.
  17. RATE
  18. Calculates the interest rate per period of a loan or investment.
    =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
    
  19. EFFECT
  20. Calculates the effective annual interest rate, given the nominal interest rate and the number of compounding periods per year.
    =EFFECT(6%, 12)
    In this example:
    - Nominal rate: 6%
    - Compounding periods: 12 (monthly)
    
  21. NOMINAL
  22. Calculates the nominal interest rate given the effective rate and the number of compounding periods per year.
    =NOMINAL(6.17%, 12)
    This converts the 6.17% effective annual rate to a nominal rate assuming 12 compounding periods.
  23. CUMIPMT (Cumulative Interest Payment)
  24. Calculates the cumulative interest paid on a loan between two periods.
    =CUMIPMT(5%/12, 30*12, 200000, 13, 24, 0)
    This calculates the cumulative interest paid between the 13th and 24th months on a 30-year loan of 200,000 with a 5% annual interest rate.
  25. CUMPRINC (Cumulative Principal Payment)
  26. Calculates the cumulative principal paid on a loan between two periods.
    =CUMPRINC(5%/12, 30*12, 200000, 13, 24, 0)
    This calculates the cumulative principal paid between the 13th and 24th months on a 30-year loan of 200,000 with a 5% interest rate.
  27. SLN (Straight-Line Depreciation)
  28. Calculates the straight-line depreciation of an asset for one period.
    =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.
    
  29. DB (Declining Balance Depreciation)
  30. Calculates the declining balance depreciation of an asset for a specific period.
    =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.
    
  31. DDB (Double Declining Balance Depreciation)
  32. Calculates the depreciation of an asset for a specific period using the double-declining balance method.
    =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.
    
  33. SYD (Sum-of-Years' Digits Depreciation)
  34. Calculates the sum-of-years' digits depreciation of an asset for a specific 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.
    
  35. MIRR (Modified Internal Rate of Return)
  36. 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.
    =MIRR(A1:A6, 10%, 12%)
    Where:
    - A1:A6 contains the cash flows.
    - 10% is the cost of the investment.
    - 12% is the reinvestment rate.
    
  37. XNPV
  38. Calculates the net present value for cash flows at irregular intervals.
    =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.
    
  39. AMORLINC
  40. Calculates the depreciation for each accounting period using a straight-line depreciation method.
    =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.

  1. MEDIAN
  2. Returns the median (middle value) of a group of numbers.
    =MEDIAN(A1:A10)
    Returns the median of the values in A1 to A10.
  3. MODE.SNGL
  4. Returns the most frequent value in a dataset.
    =MODE.SNGL(A1:A10)
    Returns the most common value in the range A1 to A10.
  5. MODE.MULT
  6. Returns an array of the most frequent values in a dataset.
    =MODE.MULT(A1:A10)
    Returns multiple modes from A1 to A10.
  7. STDEV.P (Population Standard Deviation)
  8. Calculates the standard deviation based on the entire population.
    =STDEV.P(A1:A10)
    Returns the population standard deviation for the range A1 to A10.
  9. STDEV.S (Sample Standard Deviation)
  10. Calculates the standard deviation based on a sample.
    =STDEV.S(A1:A10)
    Returns the sample standard deviation for the range A1 to A10.
  11. VAR.P (Population Variance)
  12. Calculates the variance based on the entire population.
    =VAR.P(A1:A10)
    Returns the population variance for the range A1 to A10.
  13. VAR.S (Sample Variance)
  14. Calculates the variance based on a sample.
    =VAR.S(A1:A10)
    Returns the sample variance for the range A1 to A10.
  15. COUNT
  16. Counts the number of cells that contain numbers.
    =COUNT(A1:A10)
    Counts the number of numeric entries in A1 to A10.
  17. COUNTA
  18. Counts the number of non-empty cells.
    =COUNTA(A1:A10)
    Counts non-empty cells in A1 to A10.
  19. COUNTBLANK
  20. Counts the number of empty cells in a range.
    =COUNTBLANK(A1:A10)
    Returns the count of blank cells in A1 to A10.
  21. COUNTIF
  22. Counts the number of cells that meet a specific condition.
    =COUNTIF(A1:A10, ">10")
    Counts how many values in A1 to A10 are greater than 10.
  23. COUNTIFS
  24. Counts the number of cells that meet multiple conditions.
    =COUNTIFS(A1:A10, ">10", B1:B10, ">20")
    Counts how many values in A1 to A10 are greater than 10 and how many values in B1 to B10 are less than 20.
  25. PERCENTILE.EXC
  26. Returns the k-th percentile of values in a range, where k is between 0 and 1 (exclusive).
    =PERCENTILE.EXC(A1:A10, 0.9)
    Returns the 90th percentile of the values in A1 to A10.
  27. PERCENTILE.INC
  28. Returns the k-th percentile of values in a range, where k is between 0 and 1 (inclusive).
    =PERCENTILE.INC(A1:A10, 0.9)
    Returns the 90th percentile of the values in A1 to A10, inclusive.
  29. PERCENTRANK.EXC
  30. Returns the rank of a value in a dataset as a percentage, excluding 0 and 1.
    =PERCENTRANK.EXC(A1:A10, 50)
    Returns the percentage rank of 50 within A1 to A10.
  31. PERCENTRANK.INC
  32. Returns the rank of a value in a dataset as a percentage, including 0 and 1.
    =PERCENTRANK.INC(A1:A10, 50)
    Returns the percentage rank of 50 within A1 to A10, inclusive.
  33. QUARTILE.EXC
  34. Returns the quartile of a dataset, based on percentiles, excluding 0 and 1.
    =QUARTILE.EXC(A1:A10, 1)
    Returns the 1st quartile (25th percentile) from the values in A1 to A10.
  35. QUARTILE.INC
  36. Returns the quartile of a dataset, including 0 and 1.
    =QUARTILE.INC(A1:A10, 1)
    Returns the 1st quartile (25th percentile) from the values in A1 to A10, inclusive.
  37. LARGE
  38. Returns the k-th largest value in a dataset.
    =LARGE(A1:A10, 3)
    Returns the 3rd largest value from A1 to A10.
  39. SMALL
  40. Returns the k-th smallest value in a dataset.
    =SMALL(A1:A10, 2)
    Returns the 2nd smallest value from A1 to A10.
  41. MAX
  42. Returns the largest value in a range.
    =MAX(A1:A10)
    Returns the maximum value from A1 to A10.
  43. MIN
  44. Returns the smallest value in a range.
    =MIN(A1:A10)
    Returns the minimum value from A1 to A10.
  45. RANK.EQ
  46. Returns the rank of a number in a list of numbers. Equal numbers receive the same rank.
    =RANK.EQ(A1, A1:A10)
    Returns the rank of A1 in the range A1 to A10.
  47. RANK.AVG
  48. Returns the rank of a number in a list of numbers, with the average rank for ties.
    =RANK.AVG(A1, A1:A10)
    Returns the rank of A1 in the range A1 to A10, averaging ranks for tied values.
  49. FREQUENCY
  50. Calculates how often values occur within a range of values and returns a vertical array of numbers.
    =FREQUENCY(A1:A10, B1:B5)
    Calculates the frequency of occurrences of A1 to A10 in the intervals specified in B1 to B5.
  51. CORREL
  52. Returns the correlation coefficient between two data sets.
    =CORREL(A1:A10, B1:B10)
    Returns the correlation between the values in A1:A10 and B1:B10.
  53. COVARIANCE.P
  54. Calculates the covariance of two data sets (population).
    =COVARIANCE.P(A1:A10, B1:B10)
    Returns the covariance of the data in A1:A10 and B1:B10.
  55. COVARIANCE.S
  56. Calculates the covariance of two data sets (sample).
    =COVARIANCE.S(A1:A10, B1:B10)
    Returns the sample covariance of the data in A1:A10 and B1:B10.
  57. SKEW
  58. Returns the skewness of a distribution (degree of asymmetry of the distribution).
    =SKEW(A1:A10)
    Calculates the skewness of the data in A1:A10.
  59. KURT
  60. Returns the kurtosis of a data set (the peakedness of the distribution).
    =KURT(A1:A10)
    Calculates the kurtosis of the data in A1:A10.
  61. NORM.DIST
  62. Returns the normal distribution for a specified mean and standard deviation.
    =NORM.DIST(50, 40, 10, TRUE)
    Returns the cumulative probability of a normal distribution with a mean of 40 and a standard deviation of 10, for the value 50.
  63. NORM.INV
  64. Returns the inverse of the normal cumulative distribution.
    =NORM.INV(0.9, 40, 10)
    Returns the value corresponding to the 90th percentile of a normal distribution with a mean of 40 and a standard deviation of 10.
  65. T.DIST
  66. Returns the Student’s t-distribution.
    =T.DIST(1.5, 9, TRUE)
    Returns the cumulative t-distribution for 1.5 with 9 degrees of freedom.
  67. T.INV
  68. Returns the inverse of the Student’s t-distribution.
    =T.INV(0.9, 9)
    Returns the t-value corresponding to the 90th percentile for a t-distribution with 9 degrees of freedom.
Tags:

Post a Comment

0Comments

Post a Comment (0)