How do I replace blank cells with zero in Google Sheets? 2

How do I replace blank cells with zero in Google Sheets?

To replace blank cells with zero in Google Sheets, follow these steps:
1. Select the cells or range of cells that you want to edit.
2. Right-click on the selection and choose “Format cells” from the menu.
3. In the Format cells window, click on the “Custom number format” option.
4. In the Type field, enter “0;0;0;@” and click “Apply”.
5. This will replace all the blank cells in the selected range with zeros.
6. Alternatively, you can also use the formula “=IF(ISBLANK(A1),0,A1)” in a new column to replace blank cells in a specific column with zeros.
By following these steps, you can easily replace blank cells with zero in Google Sheets.

Replace Blank Cells with Zero in Google Sheets


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:

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

Cite this article

stats writer (2024). How do I replace blank cells with zero in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-do-i-replace-blank-cells-with-zero-in-google-sheets/

stats writer. "How do I replace blank cells with zero in Google Sheets?." PSYCHOLOGICAL SCALES, 16 May. 2024, https://scales.arabpsychology.com/stats/how-do-i-replace-blank-cells-with-zero-in-google-sheets/.

stats writer. "How do I replace blank cells with zero in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-do-i-replace-blank-cells-with-zero-in-google-sheets/.

stats writer (2024) 'How do I replace blank cells with zero in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-do-i-replace-blank-cells-with-zero-in-google-sheets/.

[1] stats writer, "How do I replace blank cells with zero in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, May, 2024.

stats writer. How do I replace blank cells with zero in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top