Excel: Forward fill column

Fill blank cells in a column with the last non-blank value above them.

Help Centre › Building Processes

Fill blank cells in a column with the last non-blank value above them.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Forward fill column under Excel › Columns, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
ColumnYesThe name of the column to forward fill. Blank cells will be filled with the last non-blank value above them.

See all Excel steps.

Example

BeforeAfter
Acme CorpAcme Corp
(blank)Acme Corp
(blank)Acme Corp
Beta IncBeta Inc
(blank)Beta Inc

Tips

  • Use this after opening an Excel file where merged cells have been unmerged, leaving blanks
  • The sheet parameter is handled by the step’s sheet selector – make sure you are on the correct sheet
  • Only blank/empty cells are filled – cells with values (including spaces or zeros) are left unchanged
  • Forward fill starts from the top of the column and works downward

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.