How to Replace Blank Cells with Zero in Google Sheets
To replace blank cells with zero in Google Sheets, follow these steps:
- Open your Google Sheet where you have data with blank cells.
- Click on the top-left cell of your data range and drag to select the entire range containing blank cells.
- Press
Ctrl
+H
or click onEdit
in the menu bar, then selectFind and replace
. - In the
Find
field, leave it empty. - In the
Replace with
field, enter0
(the number zero). - Make sure the
Search
option is set toSpecific range
and the range corresponds to the one you have selected. - Check the box labeled
Also search within formulas
. - Click on the
Replace all
button.
Google Sheets will now replace all blank cells within the selected range with zeros.
Example
Let's say you have the following data in your Google Sheet:
A B C
1 Fruit Quantity Price
2 Apple 5 10
3 Banana 15
4 Cherry 3
You want to replace the blank cells in the 'Quantity' column with zeros. Follow the steps mentioned above:
- Select the range B2:B4.
- Press
Ctrl
+H
or clickEdit
>Find and replace
. - Leave the
Find
field empty. - Enter
0
in theReplace with
field. - Make sure the
Search
option is set toSpecific range
and the range is B2:B4. - Check the box labeled
Also search within formulas
. - Click on the
Replace all
button.
The blank cells in the 'Quantity' column will be replaced with zeros. Your updated Google Sheet will look like this:
A B C
1 Fruit Quantity Price
2 Apple 5 10
3 Banana 0 15
4 Cherry 3 0
Did you find this useful?