20 Important Formulas in Excel For Regular Use
20 Important Formulas in Excel For Regular Use
1. SUM
• Syntax: =SUM(number1, number2, ...)
• Use: Adds up numbers in a range.
• Example: =SUM(A1:A10) sums the values in cells A1 to A10.
2. AVERAGE
• Syntax: =AVERAGE(number1, number2, ...)
• Use: Calculates the average of numbers in a range.
• Example: =AVERAGE(B1:B10) calculates the average of values in cells B1 to B10.
3. COUNT
• Syntax: =COUNT(value1, value2, ...)
• Use: Counts the number of cells that contain numbers.
• Example: =COUNT(A1:A10) counts how many cells in A1 to A10 contain numbers.
4. COUNTA
• Syntax: =COUNTA(value1, value2, ...)
• Use: Counts the number of cells that are not empty (including text).
• Example: =COUNTA(A1:A10) counts the non-empty cells in A1 to A10.
5. IF
• Syntax: =IF(condition, value_if_true, value_if_false)
• Use: Returns one value if a condition is true, and another if false.
• Example: =IF(A1>10, "Yes", "No") returns "Yes" if A1 is greater than 10, otherwise "No".
6. VLOOKUP
• Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
• Use: Searches for a value in the leftmost column of a table and returns a value in the same
row from a specified column.
• Example: =VLOOKUP(A1, B1:C10, 2, FALSE) looks for the value in A1 in the first column of
B1:C10 and returns the corresponding value from the second column.
7. HLOOKUP
• Syntax: =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
• Use: Searches for a value in the top row of a table and returns a value in the same column
from a specified row.
• Example: =HLOOKUP(A1, B1:D3, 2, FALSE) looks for the value in A1 in the top row of B1:D3
and returns the corresponding value from the second row.
8. INDEX
• Syntax: =INDEX(array, row_num, [column_num])
• Use: Returns the value of a cell in a given row and column of a range.
• Example: =INDEX(A1:C5, 2, 3) returns the value in the second row and third column of A1:C5.
9. MATCH
• Syntax: =MATCH(lookup_value, lookup_array, [match_type])
• Use: Searches for a value in a range and returns its relative position.
• Example: =MATCH(25, A1:A10, 0) returns the position of the value 25 in range A1:A10.
10. CONCATENATE (or CONCAT)
• Syntax: =CONCATENATE(text1, text2, ...)
• Use: Joins multiple text strings into one.
• Example: =CONCATENATE("Hello", " ", "World") returns "Hello World".
11. LEFT
• Syntax: =LEFT(text, [num_chars])
• Use: Extracts a specified number of characters from the start of a text string.
• Example: =LEFT(A1, 3) returns the first 3 characters of the text in cell A1.
12. RIGHT
• Syntax: =RIGHT(text, [num_chars])
• Use: Extracts a specified number of characters from the end of a text string.
• Example: =RIGHT(A1, 4) returns the last 4 characters of the text in cell A1.
13. LEN
• Syntax: =LEN(text)
• Use: Returns the number of characters in a text string.
• Example: =LEN(A1) returns the number of characters in cell A1.
14. TRIM
• Syntax: =TRIM(text)
• Use: Removes extra spaces from text except for single spaces between words.
• Example: =TRIM(A1) removes extra spaces in A1.
15. TODAY
• Syntax: =TODAY()
• Use: Returns the current date.
• Example: =TODAY() returns today’s date.
16. NOW
• Syntax: =NOW()
• Use: Returns the current date and time.
• Example: =NOW() returns the current date and time.
17. SUMIF
• Syntax: =SUMIF(range, criteria, [sum_range])
• Use: Adds the cells that meet a specified condition.
• Example: =SUMIF(A1:A10, ">10", B1:B10) sums the values in B1:B10 where the
corresponding A1:A10 value is greater than 10.
18. COUNTIF
• Syntax: =COUNTIF(range, criteria)
• Use: Counts the number of cells that meet a specified condition.
• Example: =COUNTIF(A1:A10, "Yes") counts how many times "Yes" appears in the range
A1:A10.
19. ROUND
• Syntax: =ROUND(number, num_digits)
• Use: Rounds a number to a specified number of digits.
• Example: =ROUND(A1, 2) rounds the number in A1 to 2 decimal places.
20. PMT
• Syntax: =PMT(rate, nper, pv, [fv], [type])
• Use: Calculates the payment for a loan based on constant payments and a constant interest
rate.
• Example: =PMT(5%/12, 60, -10000) calculates the monthly payment for a $10,000 loan at 5%
annual interest over 5 years.