EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • All Courses
    • All Specializations
  • Blog
  • Enterprise
  • Free Courses
  • All Courses
  • All Specializations
  • Log in
  • Sign Up
Home Excel Excel Resources Workplace Productivity Google Sheets Formulas
 

Google Sheets Formulas

Shamli Desai
Article byShamli Desai
EDUCBA
Reviewed byRavi Rathore

Google Sheets Formulas

Google Sheet Formulas – Introduction

Google Sheets formulas are a fundamental tool for working with and analyzing data in Google Sheets. These formulas help us perform calculations & statistical analysis, manipulate data, and automate tasks in Google Sheets.

 

 

Using the functions option in the toolbar, you can find all Google Sheets formulas and functions (array, database, logical, math, etc.). The functions option is present at the right end of the toolbar.

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

functions option

How to Use Google Sheets Formulas?

To use Google Sheets formulas, follow these steps:

  1. Select a cell and start typing an equals sign (=).
    For example, select cell A1 and type =.
  2. Then, you can either type the entire function name or select a function from the drop-down menu that appears as you type.
    For example, type like this: =AVERAGE
  3. Type an open parentheses, add arguments (data or cell references), and then close the function with a closing parenthesis.
    For example, it should look like this: =AVERAGE(A2:A10)
  4. Press Enter to calculate the result.
  5. If you want to apply the formula to other cells, Sheets will show an option to auto-fill the rest of the cells. You can also copy and paste formulas as needed.
Example

Suppose you need to find the total marks for each student, you can use this SUM formula:

=SUM(B2:D2)

Formula in Google Sheets

Top Google Sheet Formulas List

Here are some common and frequently used Google Sheets formulas:

  1. SUM
  2. AVERAGE
  3. MAX
  4. MIN
  5. IF
  6. VLOOKUP
  7. HLOOKUP
  8. CONCATENATE
  9. COUNT
  10. COUNTA
  11. IFERROR
  12. DATE
  13. TODAY
  14. NOW
  15. LEN

Let’s see how to use the above functions with the help of some examples:

You can download this Google Sheets Formulas Template here – Google Sheets Formulas Template

1. SUM Formula

In a Cricket match, Team 1 has completed 5 overs and wants to find out their total runs scored to set a target for Team 2. You can find it by using SUM Formula in Google Sheets.

Given:

SUM Given

Solution:
In cell B7, add the SUM formula: =sum(B2:B6) and hit Enter.

Sum solution

The SUM formula will give you a total of 59 runs. Therefore, Team 2 needed to score 60 runs to win the match.

2. AVERAGE Formula

Suppose you are managing a sales team and want to calculate the average sales for each salesperson over a quarter. You can find it by using the AVERAGE formula.

Given:

Average given

Solution:
In our example, we will first find the average sale of Ryder.
To do so, select cell “E2” and enter formula: =AVERAGE(B2:D2)

Average solution

To find the average sale of other members, drag the blue circle to cell “E5,” as shown below:

Average solution 1

 3. MAX Formula

Suppose you are managing inventory for a grocery store and want to find out which product has the highest stock level. For this, you can use the MAX formula.

Given:

max given

Solution:
To find the maximum number of stock, select cell “B7” and type formula: =MAX(B2:B6)

Max solution

The maximum stock is of Cereals, i.e., 90 pieces.

4. MIN Formula

Let’s use the example we used for the MAX function, but now we will find the minimum stock level for a product using the MIN function.

Given:

min given

Solution:
To find the minimum number of stock, select cell “B7” and type formula: =MIN(B2:B6)

Min solution

The minimum stock is of Bread, i.e., 50 pieces.

5. IF Formula

We have patients’ body temperature data and want to find which patients have a fever. We want to display “Fever” for those who have a fever (temperature above 38°C) and “No Fever” for others (temperature below 38°C).

Given:

IF given

Solution:
Select cell “C2” and type the formula: =IF(B2>38,“Fever”,“No Fever”).
If the patient’s body temperature exceeds 38°C, the formula will show “Fever” and vice versa.

If solution

As a result, we can see that Patient B is having a fever of 40.5 °C.

6. VLOOKUP Formula

We have employee data and want to find the salary of Josephine Moore. Instead of manually finding it, we can use the VLOOKUP formula in Google Sheets.

Given:

Vlookup given

Solution:
We are looking for the salary of “Josephine Moore,” so we have entered her name in cell A9. And we will find the result in cell B9 by using this formula: =VLOOKUP(A5,A2:D6,4,0)

Vlookup solution

As a result, the salary of Josephine Moore is $40,000.

7. HLOOKUP Formula

We have sales data with salespersons and the number of products they have sold. We want to find out how many chocolates Calvin Walker has sold. To do so, we will use the HLOOKUP formula.

Given:

Hlookup given

Solution:
We have entered Calvin Walker’s name in cell A8. And we will find the result in cell B8 by using this formula: =HLOOKUP(D1,A1:E5,4,0)

Google Sheets Formulas-Hlookup solution

As a result, Calvin Walker has sold 27 chocolates.

8. CONCATENATE Formula

We have a table in which first and last names are in two different columns. We want the full name to appear in one cell. To do so, we can use the CONCATENATE formula.

Given:

Concatenate given

Solution:
Select cell “C2” and type formula: =CONCATENATE(A2,” “,B2), hit enter, and drag down the blue circle till cell “C5” as shown below:

Google Sheets Formulas-Concatenate solution

As a result, it gives its full name in one cell with a space between them.

9. COUNT Formula

Suppose Adam bakes cakes at home for business and wants to know how many days a week he has baked cakes. He can use the COUNT formula in Google Sheets to count the number of days.

Given:

Count given

Solution:
Select the cell “B10” where you want to show the result and type formula: =COUNT(B2:B8)

Google Sheets Formulas-Count solution

As a result, we can see that Adam has baked 5 days in a week.

10. COUNTA Formula

Suppose we have a list of students with their weight. We want to calculate how many students have done their weight check. To do this, we can use the COUNTA formula in Google Sheets.

Given:

Counta given

Solution:
Select cell “B9” and type the formula: =COUNTA(B2:B6)

Google Sheets Formulas-Counta solution

As a result, we can see that 4 students have done their weight check, and one is remaining.

11. IFERROR Formula

Let’s say we have a division formula, and we want to avoid the #DIV/0! error that occurs when dividing by zero by displaying a custom message in such cases. To do so, we can use the IFERROR formula.

Given: 

Iferror given

Solution:
Select the cell D2 and enter “=IFERROR(A2/B2, “Cannot divide by zero”)” as the formula.

Iferror solution

As a result, the IFERROR formula will display “Cannot divide by zero” if a division by zero error occurs.

12. DATE Formula

Suppose we have dates in a non-standard format and need to convert them into the correct date format. We can use the DATE formula in Google Sheets.

Given:

Date Given

Solution:
Select cell “B2” and type the formula: =DATE(2023,10,22)

Google Sheets Formulas-Date solution

13. TODAY Formula

Suppose we want a cell to automatically display the current date, ensuring that it updates to the current date every day. This can be done by using the TODAY function.

Given:

Google Sheets Formulas-Today given

Solution:
Select cell “B1” and enter the formula: =TODAY()

Today solution

14. NOW Formula

Zara is working on a Google Sheet, and before adding any data, she has to add the current date and time. To do this, she can use the NOW formula.

Solution:
Select the cell “B1” and type the formula: =Now()

Google Sheets Formulas-Now

15. LEN Formula

Let’s say your company has a policy that requires passwords to be at least 8 characters long. You can use the LEN formula in a cell to suggest a password meeting this requirement.

Given:

Len given

Solution:
Select cell “B2” and type the formula: =LEN(A2) and hit enter.
Drag the blue circle till cell “B5” to the full result of all passwords.

Google Sheets Formulas-Len solution

As a result, we can see that one password is less than the limit. Hence, we need to change it and make it up to 8 characters.

Recommended Articles

We hope this article on Google Sheets Formulas was beneficial to you. For more related articles, check the following,

  1. What is Google Sheets?
  2. How to Use Google Sheets?
  3. Excel vs Google Sheets
Primary Sidebar
Footer
Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

Download Google Sheets Formulas Template

EDUCBA Login

Forgot Password?

EDUCBA

Download Google Sheets Formulas Template

EDUCBA

डाउनलोड Google Sheets Formulas Template

🚀 Limited Time Offer! - 🎁 ENROLL NOW