TOP 22 Excel formulas By Nicolas Boucher Must Know!
Core Calculation Formulas Referencing
1. SUM 2. AVERAGE 3. ROUND 7. INDEX
Adds all numbers Calculates the Rounds a number Returns a value in table based
in a range average of numbers to a specified on row & column number
in a range number of digits
=INDEX(K1:L10,3,2)
=SUM(A1:A9) =ROUND(C1,2) For the value in the 3rd
=AVERAGE(B1:B9)
row & 2nd column from
Add values from Average of Round C1 to 2 the range K1:L10
cell A1 to A9 B1 to B9 decimal places
8. MATCH
4. MIN 5. MAX 6. COUNT Searches for a value and
Identifies the Finds the Counts the number of returns its relative position
lowest number highest number cells that contain numbers
in a range in a range =MATCH(L1,M1:M9,0)
=COUNT(F1:F9) to find L1's position from
=MIN(D1:D9) =MAX(D1:D9) Count numeric cells in the range M1:M9
F1 to F9
Find the Get the
minimum in
D1 to D9
maximum value
in D1 to D9
*It only counts the
numerical inputs 9. VLOOKUP
Searches for a value in the
Countblank: Count all the empty cells first column of a range
=VLOOKUP
Finds a value in one range &
(G1,H1:I10,2,FALSE)
10. HLOOKUP 11. XLOOKUP returns a result from another
To find G1 in H1:H10
Searches for =XLOOKUP 2 columns
a value in the (A7,A2:A4,B2:C4) Tips containing the data
top row of a =HLOOKUP For an exact match => FALSE need to be retrieved
To find A7 in A2:A4 & return
table. (J3,J1:O2,2,FALSE) corresponding value from Upwards matching => TRUE
To find J3 in the top row J1:O1 B2:C4 if a match is found (useful when the look up value is a number)
Conditional Calculations
12. COUNTIF / COUNTIFS 13. COUNTA 14. SUMIF / SUMIFS 15. IF / NESTED IFS
Counts cells that meet Counts non-empty cells Adds cells that meet a Performs conditional tests
a condition condition
=IF(R1>5,"Yes","No")
=COUNTIF =COUNTA(O1:O9) =SUMIF For simple conditions
(N1:N9,">5") To count all non- (P1:P9,">5")
To count cells empty cells in a To sum values
greater than 5 range over 5
Note
16. AVERAGEIF / AVERAGEIFS 17. Logical Operators (AND, OR) Combines multiple conditions IF: 1 variable
Calculates the average for IFS: multiple variables
cells that meet criteria Both conditions are =IF(test, true, false)
=AND(S1>5,S2<2) true => Output is true
=AVERAGEIF =IF(test1, true, IF(test2, true,
false)) Nested IF
(Q1:Q9,">5")
Just 1 condition is =IFS(test1, true, test2, true,
Average of values over 5 =OR(S1>5,S2<2) true => Output is true test3, true)
Output Format Management
18. CONCATENATE 19. LEFT / RIGHT 20. MID 21. TEXT 22. IFERROR
Extracts characters from the Extracts characters from Converts a value to text in Returns a custom result
Joins two or more text strings the middle of a text string a specific number format if a formula errors out
start/end of a text string
=CONCATENATE(K1," ",L1) =MID(U1,7,7) =TEXT(V1,”MMM-YY") =IFERROR(W1,"0")
=LEFT(U1,5) =RIGHT(U1,5)
Combine first name and last 7 characters starting Give 0 as output,
The result:“Excel“ The result: “Class“ 17/02/2024 => Feb-24
name in one cell from the 7th => Mastery instead of #div error
Follow Nicolas Boucher