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+Hor click onEditin the menu bar, then selectFind and replace. - In the
Findfield, leave it empty. - In the
Replace withfield, enter0(the number zero). - Make sure the
Searchoption is set toSpecific rangeand the range corresponds to the one you have selected. - Check the box labeled
Also search within formulas. - Click on the
Replace allbutton.
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 3You want to replace the blank cells in the 'Quantity' column with zeros. Follow the steps mentioned above:
- Select the range B2:B4.
- Press
Ctrl+Hor clickEdit>Find and replace. - Leave the
Findfield empty. - Enter
0in theReplace withfield. - Make sure the
Searchoption is set toSpecific rangeand the range is B2:B4. - Check the box labeled
Also search within formulas. - Click on the
Replace allbutton.
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?