Top 30 excel formulas and their uses
Excel formulas can significantly boost your productivity. Here are 30 essential Excel formulas, each with a brief explanation and the actual formula
- SUM: Adds up a range of cells.
- Formula:
=SUM(A1:A10)
- Formula:
- AVERAGE: Calculates the average of a range of cells.
- Formula:
=AVERAGE(B1:B5)
- Formula:
- COUNT: Counts the number of cells containing numbers.
- Formula:
=COUNT(C1:C8)
- Formula:
- MAX: Returns the highest value in a range.
- Formula:
=MAX(D1:D12)
- Formula:
- MIN: Returns the lowest value in a range.
- Formula:
=MIN(E1:E15)
- Formula:
- IF: Performs a logical test and returns one value if true and another if false.
- Formula:
=IF(F1>50, "Pass", "Fail")
- Formula:
- VLOOKUP: Searches for a value in the first column of a range and returns a value in the same row from another column.
- Formula:
=VLOOKUP(G1, A1:B10, 2, FALSE)
- Formula:
- HLOOKUP: Similar to VLOOKUP, but searches for the value in the first row and returns a value in the same column from another row.
- Formula:
=HLOOKUP(H1, A1:F5, 3, FALSE)
- Formula:
- INDEX and MATCH: Retrieves a value at the intersection of a particular row and column, based on matching criteria.
- Formula:
=INDEX(C1:E5, MATCH(I1, B1:B5, 0), 3)
- Formula:
- CONCATENATE: Combines two or more text strings into one.
- Formula:
=CONCATENATE(J1, " ", K1)
- Formula:
- LEN: Returns the number of characters in a text string.
- Formula:
=LEN(L1)
- Formula:
- LEFT: Extracts a specified number of characters from the beginning of a text string.
- Formula:
=LEFT(M1, 3)
- Formula:
- RIGHT: Extracts a specified number of characters from the end of a text string.
- Formula:
=RIGHT(N1, 4)
- Formula:
- TRIM: Removes extra spaces from a text string.
- Formula:
=TRIM(O1)
- Formula:
- DATE: Returns the serial number of a particular date.
- Formula:
=DATE(2023, 1, 15)
- Formula:
- NOW: Returns the current date and time.
- Formula:
=NOW()
- Formula:
- IFERROR: Returns a value you specify if a formula evaluates to an error; otherwise, it returns the result of the formula.
- Formula:
=IFERROR(P1/Q1, "Error")
- Formula:
- SUMIF: Adds up numbers based on a given condition.
- Formula:
=SUMIF(R1:R10, ">50")
- Formula:
- COUNTIF: Counts cells based on a single condition.
- Formula:
=COUNTIF(S1:S15, "<>0")
- Formula:
- AVERAGEIF: Calculates the average based on a specified condition.
- Formula:
=AVERAGEIF(T1:T8, ">=75")
- Formula:
- SUMIFS: Adds up numbers based on multiple conditions.
- Formula:
=SUMIFS(U1:U10, V1:V10, "A", W1:W10, ">50")
- Formula:
- COUNTIFS: Counts cells based on multiple conditions.
- Formula:
=COUNTIFS(X1:X15, "<>0", Y1:Y15, "<100")
- Formula:
- IF AND OR: Performs complex logical tests with multiple conditions.
- Formula:
=IF(AND(Z1>50, AA1="Pass"), "Good", "Not Good")
- Formula:
- PMT: Calculates the payment for a loan based on constant payments and a constant interest rate.
- Formula:
=PMT(0.05, 3, -1000)
- Formula:
- IRR: Calculates the internal rate of return for a series of cash flows.
- Formula:
=IRR(AB1:AB5)
- Formula:
- NPV: Calculates the net present value of an investment based on a series of cash flows.
- Formula:
=NPV(0.1, AC1:AC5)
- Formula:
- RANK: Returns the rank of a number in a list.
- Formula:
=RANK(AD1, AD1:AD10)
- Formula:
- HYPGEOM.DIST: Calculates the probability of drawing a certain number of successes in a fixed number of trials, without replacement from a finite population.
- Formula:
=HYPGEOM.DIST(AE1, 10, 4, 5, FALSE)
- Formula:
- TRANSPOSE: Transposes rows and columns in a range of cells.
- Formula:
=TRANSPOSE(AF1:AI4)
- Formula:
- CHOOSE: Returns a value from a list of values, based on a specified position.
- Formula:
=CHOOSE(AJ1, "Option 1", "Option 2", "Option 3")
- Formula:
Remember to adapt these formulas to your specific needs, and you’ll find Excel to be an even more powerful tool for data analysis and manipulation.