# Excel Autofill

If you upload an Excel template, you can include variables in your spreadsheet via double-curly brace syntax (`{{Field1}}`). Feathery will automatically replace variables with the corresponding field value when you fill them out.

## Conditional Sheet Generation

You can include conditional logic that determines if a given individual sheet of your spreadsheet will be included in the final output. To do so, set the name of the sheet to a field variable with double-curly brace syntax. If the field ends up having an empty value, the corresponding sheet will **not** be included in the final spreadsheet output. Otherwise, the name of the sheet will be replaced with the field value and kept in the spreadsheet as usual.

## Conditionally Hide Rows and Columns

You can conditionally hide rows by placing the following syntax in a cell:

```
feathery.hide_row = {{FieldID}}
```

If the field value contained in `FieldID` is truthy (`True`, `1`, etc), the entire row where the cell resides will be hidden. Similarly for hiding columns you can use:

```
feathery.hide_col = {{FieldID}}
```

&#x20;
