6.2 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsGoogle SheetsHow to Replace Blank Cells with Zero in Google Sheets

How to Replace Blank Cells with Zero in Google Sheets

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

The easiest way to replace blank cells with zeros in Google Sheets is to use the Find and replace function within the Edit tab.

The following example shows how to use this function in practice.

Example: Replace Blank Cells with Zero in Google Sheets

Suppose we have the following data that shows the points scored by various basketball teams:

Suppose we would like to replace the blank cells in the Points column with zeros.

To do so, click the Edit tab and then click Find and replace.

In the new window that appears, type ^s*$ to find blank cells and use 0 as the replacement.

Type in the cell range you’d like to use this formula on, then check the boxes next to Match case and Search using regulars expressions.

Google Sheets replace blank cells with zeros

Then click Replace all and then click Done.

Each of the blank cells in the Points column will automatically be replaced with zeros:

Additional Resources

The following tutorials explain how to perform other common tasks in Google Sheets:

How to Count Number of Occurrences in Google Sheets
How to Check if Value is in Range in Google Sheets
How to Count Unique Values in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories