Basic Excel Formulas
Basic Excel Formulas
1. SUM
Example: =SUM(A1:A5)
2. AVERAGE
Example: =AVERAGE(B1:B5)
Explanation: Calculates the average (arithmetic mean) of the numbers in cells B1 through B5.
3. IF
4. COUNT
Example: =COUNT(A1:A10)
Explanation: Counts the number of numeric entries in the range A1 through A10.
5. COUNTA
Example: =COUNTA(A1:A10)
Explanation: Counts the number of non-empty cells in the range A1 through A10.
6. IFERROR
Explanation: Returns the result of A1/B1, or 'Error' if there is a division by zero or other error.
7. VLOOKUP
Explanation: Looks for 101 in the first column of range A2:C10 and returns the value in the second
column.
8. HLOOKUP
Example: =HLOOKUP("Q1", A1:D2, 2, FALSE)
Explanation: Searches for 'Q1' in the top row of the range and returns the value in the second row.
9. INDEX
Example: =INDEX(A1:C3, 2, 2)
Explanation: Returns the value at the intersection of the second row and second column in the
range A1:C3.
10. MATCH
11. LEN
Example: =LEN(A1)
12. TRIM
Example: =TRIM(A1)
Explanation: Removes all extra spaces from text in cell A1, leaving only single spaces between
words.
13. CONCATENATE
14. TEXT
15. NOW
Example: =NOW()
Example: =TODAY()
17. LEFT
Example: =LEFT(A1, 4)
Explanation: Returns the first four characters from the text in cell A1.
18. RIGHT
Example: =RIGHT(A1, 3)
Explanation: Returns the last three characters from the text in cell A1.
19. MID
Example: =MID(A1, 3, 2)
Explanation: Returns two characters from the text in cell A1, starting at the third character.
20. ROUND
Example: =ROUND(A1, 2)