logo
search
Function Problems

How to Enter an Excel VLOOKUP Formula Only in Blank Cells

Anum MushtaqAnum Mushtaq Oct 13, 2026 868 views

Question details

The user needs a method to populate empty cells within a data range with a VLOOKUP formula while ensuring that cells containing existing data remain untouched.

How to Enter a VLOOKUP Formula Only in Blank Cells in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Filling incomplete data tables where certain values are already present, but the missing data needs to be fetched from another table using VLOOKUP.
Observed behavior
The goal is to selectively target and update only the blank cells in a column without overwriting or altering the currently populated cells.
Before you start

Ensure your VLOOKUP formula uses absolute references (e.g., $I$14:$K$18) for the lookup table array so the reference range does not shift when applying the formula to multiple disparate rows.

Solution 1Recommended

Use the Go To Special Feature to Target Blank Cells

This is the most straightforward method for most users, allowing you to isolate all blank cells in a range and paste your VLOOKUP formula simultaneously.

Excel's 'Go To Special' tool allows you to select cells based on specific attributes, such as being completely blank. This prevents your paste actions from affecting cells that already contain data.

1
Write and copy the VLOOKUP formula

Select the first blank cell where you need the data, type your VLOOKUP formula (for example, =VLOOKUP(B2,$I$14:$K$18,2,0)), and press Enter. Click on the cell again and copy it by pressing Ctrl+C.

2
Select the target range

Highlight the entire column or specific range of cells where you want the formula applied. You should include both the blank cells and the cells that already have data in this selection.

3
Open the Go To Special dialog

Press F5 on your keyboard to open the 'Go To' dialog box. In the bottom left corner, click on the 'Special...' button.

4
Select only the blank cells

In the Go To Special window, click the radio button next to 'Blanks' and click OK. Excel will deselect the filled cells and leave only the empty ones highlighted.

5
Paste the formula

Without clicking anywhere else on the sheet, press Ctrl+V to paste. Your copied VLOOKUP formula will instantly populate only the selected blank cells.

Use the Go To Special Feature to Target Blank Cells
Pro Tip: If you are using relative row references for your lookup value (e.g., B2), Excel will automatically adjust the row number for each blank cell it pastes into, provided you copied the formula from the top of your dataset.
Efficient Spreadsheet Tool

Easily Manage Blank Cells and Formulas with WPS Spreadsheet

WPS Spreadsheet provides powerful data manipulation tools, including the 'Go To Special' feature and full support for advanced VLOOKUP formulas. You can seamlessly fill empty cells without overwriting data in an intuitive, familiar interface.

  1. 1. Open your dataset in WPS Spreadsheet: Launch WPS Office and open your .xlsx file containing the incomplete data.
  2. 2. Copy the VLOOKUP formula: Type your formula with absolute table references into the first empty cell and copy it.
  3. 3. Use Go To Special to fill blanks: Highlight your data column, press Ctrl+G to open the Go To dialog, select 'Blanks', and press Ctrl+V to safely paste your formula.
100% compatible with Microsoft Excel (.xlsx, .xls) files and complex formulas.Built-in 'Go To Special' feature to easily locate, highlight, and manage blank cells.Supports advanced VBA macros for heavy automation.Lightweight, fast, and completely free to download and use.
QA img-9

Frequently Asked Questions

Why does my pasted VLOOKUP formula return errors in some blank cells?

This usually happens if you did not use absolute cell references (such as $A$1:$D$10) for your lookup array. When you paste the formula into different rows without locking the references, the lookup table range shifts down, resulting in #N/A errors.

Can I use the 'Go To Special' method for other formulas besides VLOOKUP?

Yes. The 'Go To Special > Blanks' technique works for any formula, text, or number. It simply acts as a filter that restricts your pasting action strictly to the empty cells within your selected range.

How do I quickly select my entire dataset to find blank cells?

Instead of dragging your mouse, click the first cell of your column and press Ctrl + Shift + Down Arrow. This will select all cells down to the end of the data, allowing you to then use F5 to access Go To Special > Blanks.

Will running the VBA macro overwrite existing formulas in my target column?

No. The provided VBA script includes a conditional check (If Cells(i, 3) = "") which ensures that the formula is only written if the target cell evaluates as completely blank, leaving your existing data and formulas perfectly intact.