FormulaCraft

How to fill blank cells with a value in Excel and Google Sheets

Topic:Data cleaning & shaping
Excel & Google Sheets
=IF(ISBLANK(A2),"N/A",A2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

RegionFilled
North
South
East

=IF(ISBLANK(A2),"N/A",A2)North

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Formula approach: In a helper column, enter =IF(ISBLANK(A2),"N/A",A2) — copy down all rows to show the filled version.
  2. 2In-place approach (Excel): Select the range, press Ctrl+G → Special → Blanks → OK, then type your fill value and press Ctrl+Enter to fill all selected blank cells at once.
  3. 3In Google Sheets in-place: Use Edit → Find and Replace with an empty search term and your fill value, checking 'Match entire cell contents'.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I fill blanks with the value from the cell above (fill down)?

In Excel, select blanks with Go To Special, then in the formula bar type =A1 (the cell above the first blank) and press Ctrl+Enter — each blank fills with its own row's reference.

Does ISBLANK detect cells with just a space?

No — ISBLANK returns FALSE for cells containing spaces. Use =IF(TRIM(A2)="","N/A",A2) to also catch whitespace-only cells.

More on Data cleaning & shaping

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: