# Fill empty cells with previous/next value[¶](https://doc.dataiku.com/dss/latest/preparation/processors/up-down-fill.html#fill-empty-cells-with-previous-next-value "Permalink to this headline")

Fill empty cells in column(s) with the previous or next non-empty value.

## Example[¶](https://doc.dataiku.com/dss/latest/preparation/processors/up-down-fill.html#example "Permalink to this headline")

| Values | Fill with previous | Fill with next |

| --- | --- | --- |

| A | A | A |

|  | A | B |

| B | B | B |

|  | B |  |

## Options[¶](https://doc.dataiku.com/dss/latest/preparation/processors/up-down-fill.html#options "Permalink to this headline")

When filling with previous value, you can specify multiple columns. When filling with next value, you can use only a single column.
