1. Open google sheet.
2. Select cells.
3. Click on format.
4. Click on conditional formatting.
5. In format cell if, click on cell is not empty.
6. Click on custom formula is.
7. Enter "= ISEVEN(ROW())" in value or formula.
8. Change default style.
9. Click on done.