Help Centre › Building Processes
This article describes the RPA Excel functionality to backward fill a column.
For a full list of available functions, please read EXCEL functions.
Description
The Backward fill column function fills blank cells in a column with the next non-blank value below them. This is the reverse of forward fill – values propagate upward instead of downward.
This is useful when data labels appear at the bottom of a group rather than the top, or when you need to pre-fill cells before a value that appears later in the column.
Example
| Before | After |
|---|---|
| (blank) | Acme Corp |
| (blank) | Acme Corp |
| Acme Corp | Acme Corp |
| (blank) | Beta Inc |
| Beta Inc | Beta Inc |
Setting it up
To use the Backward fill column function, follow these instructions:
{{popups:rpas/add:action=excel-backward-fill}}
Once on a process map:
- Navigate to the process where you would like to add the function
- Click on the green button’s drop-down
- Click on “+ Activity”
- Select the EXCEL Backward fill column option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File path | Yes | Text | – | Full path to the Excel file. |
| Sheet | Yes | Text | – | Name of the sheet containing the column. |
| Column | Yes | Text | – | The name of the column to backward fill. Blank cells will be filled with the next non-blank value below them. |
Output
This function does not return a value. It modifies the sheet in place.
Errors
- Column not found – the specified column name does not exist in the sheet
Tips
- Use this when group labels appear at the bottom of each group rather than the top
- Combine with Forward fill to fill gaps in both directions