Excel Formulas: 30+ Useful Formulas for Beginners with Examples
एक्सेल फॉर्मूला: शुरुआती लोगों के लिए 30+ उपयोगी फॉर्मूले उदाहरण सहित
Excel formulas for beginners with 30+ useful functions, simple examples and common mistakes.
On this page · इस पेज पर
Learning Excel formulas is the fastest way to save time at work or in college. A formula is an instruction that tells Excel to calculate something. Every formula starts with an equals sign. First, learn the basic rules. Then practise the formulas in groups, because each group solves a different kind of problem.
Basic Rules of Excel Formulas
A formula can add, subtract, multiply or divide. For example, =A1+B1 adds two cells, and =A1*B1 multiplies them. Excel follows the usual order of operations, so brackets come first. Moreover, a function is a ready-made formula, such as SUM or IF, and it has a name, brackets and arguments.
Some computers use semicolons instead of commas between arguments. Therefore, if a formula with commas shows an error, try semicolons. In addition, press F2 to edit a formula, and press Ctrl+` to show all formulas on the sheet. For faster work, see our guide on Excel shortcut keys.
Maths and Statistics Formulas
These formulas work on numbers.
- =SUM(B2:B10) adds all the numbers in the range.
- Also, =AVERAGE(B2:B10) gives the average of the range.
- Next, =COUNT(B2:B10) counts the cells that hold numbers.
- Then, =MAX(B2:B10) and =MIN(B2:B10) give the highest and lowest values.
- Moreover, =ROUND(3.14159,2) gives 3.14.
- Finally, =COUNTA(A2:A10) counts the cells that are not empty, while =COUNTBLANK(A2:A10) counts the empty ones.
For instance, if five students score 60, 72, 85, 90 and 48, then SUM gives 355 and AVERAGE gives 71.
Logical Formulas
These formulas help Excel make decisions.
- =IF(B2>=33,”Pass”,”Fail”) shows Pass when the marks are 33 or more.
- Also, =IF(AND(B2>=33,C2>=33),”Pass”,”Fail”) needs both conditions to be true.
- Next, =IF(OR(B2>=90,C2>=90),”Merit”,””) needs at least one condition to be true.
- Finally, =IFERROR(B2/C2,”Check”) shows the word Check instead of an error such as #DIV/0!.
You can nest IF formulas for grades, such as =IF(B2>=90,”A”,IF(B2>=75,”B”,”C”)). However, long nested formulas are hard to read. Therefore, keep them short.
Conditional Sum and Count Formulas
These formulas work only on the rows that match a rule.
- =COUNTIF(A2:A20,”Delhi”) counts the cells that contain Delhi.
- Also, =SUMIF(A2:A20,”Delhi”,B2:B20) adds the values in column B where column A says Delhi.
- Next, =SUMIFS(B2:B20,A2:A20,”Delhi”,C2:C20,”>=100″) adds column B when both conditions are true.
- Then, =COUNTIFS(A2:A20,”Delhi”,C2:C20,”>=100″) counts the rows that meet both conditions.
- Finally, =AVERAGEIF(A2:A20,”Delhi”,B2:B20) gives the average for Delhi only.
Note that SUMIF puts the sum range last, while SUMIFS puts it first. Many learners mix up this order.
Lookup Formulas
Lookup formulas find a value in a table. The most popular one is VLOOKUP. Its form is =VLOOKUP(lookup_value, table, column_number, FALSE). The FALSE at the end asks for an exact match. For example, =VLOOKUP(101,A2:C50,3,FALSE) finds ID 101 in the first column and returns the value from the third column.
VLOOKUP has a limit, because it looks only to the right. Therefore, many people now use XLOOKUP in Excel 2021 and Microsoft 365. It can look in any direction. Another choice is INDEX with MATCH, which works in older versions.
Text Formulas
Text formulas clean and join data.
- =TRIM(A2) removes extra spaces.
- Also, =LEN(A2) counts the characters.
- Next, =LEFT(A2,3) takes the first three characters, while =RIGHT(A2,3) takes the last three.
- Then, =MID(A2,2,4) takes four characters from the second position.
- Moreover, =UPPER(A2), =LOWER(A2) and =PROPER(A2) change the case.
- Finally, =CONCAT(A2,” “,B2) joins two cells with a space, and =TEXTJOIN(“, “,TRUE,A2:A6) joins a range with commas.
CONCAT and TEXTJOIN need Excel 2019 or later. In older versions, use =A2&” “&B2 instead.
Date and Time Formulas
Excel stores a date as a number, so you can calculate with it.
- =TODAY() gives today’s date, and it updates every day.
- Also, =NOW() gives the date and the time.
- Next, =YEAR(A2), =MONTH(A2) and =DAY(A2) pull out parts of a date.
- Finally, =DATEDIF(A2,TODAY(),”Y”) gives the age in complete years.
DATEDIF is a hidden function, but it works when you type it.
Cell References: Relative and Absolute
A relative reference like B2 changes when you copy the formula. An absolute reference like $B$2 stays fixed. Mixed references like $B2 fix only the column. Use F4 to switch between them. For example, to find each item’s share of the total in B11, use =B2/$B$11 and copy it down.
Common Excel Formula Mistakes
- First, learners forget the equals sign, so Excel shows the text.
- Second, many type numbers into a formula instead of using cell references.
- Third, some forget to lock a reference with $ before they copy a formula.
- Finally, others leave out FALSE in VLOOKUP, so they get a wrong match.
Excel also gives error codes. For instance, #N/A means a value was not found, and #REF! means a reference was deleted. Meanwhile, #VALUE! means the wrong type of data, and #NAME? means a misspelt function.
How to Practise Excel Formulas
First, create a small table of student marks. Next, use SUM, AVERAGE and IF on it. Then add a second sheet and use VLOOKUP to fetch a name from an ID. After that, build a pivot table from the same data with the Pivot Table tool. Finally, repeat each formula without looking at notes. For other basics, read computer shortcut keys and browse the Excel category.
FAQs on Excel Formulas
What is an Excel formula?
An Excel formula is an instruction that starts with an equals sign and tells Excel to calculate a value from numbers, cell references or functions.
Which Excel formulas should a beginner learn first?
Start with SUM, AVERAGE, COUNT, MAX, MIN, IF, COUNTIF, SUMIF and VLOOKUP. They cover most daily tasks.
What is the difference between a formula and a function?
A formula is any calculation that starts with =. A function is a ready-made formula, such as SUM or IF, that Excel provides.
Why does my Excel formula show an error?
Common causes are a missing bracket, a misspelt function name, a deleted cell reference, or a value that cannot be found. Read the error code to find the cause.
More Questions About Excel Formulas
What does the dollar sign do in a formula?
The dollar sign locks a row or a column in a reference, so it does not change when you copy the formula.
What is the difference between SUMIF and SUMIFS?
SUMIF uses one condition, while SUMIFS uses many. Also, the sum range comes last in SUMIF and first in SUMIFS.
Can I use Excel formulas in Google Sheets?
Yes. Most basic formulas, such as SUM, IF, COUNTIF and VLOOKUP, work in the same way in Google Sheets.
Wrap-Up
Excel formulas become easy when you practise them in small groups. Start with the maths and logic formulas, then add lookup and text formulas. Then continue with the Excel category, or return to the The Note homepage.