I have a Google Sheets that is calculating date values. I would like to enter a formula that decreases the date pulled from a given cell if the cell contains a positive number. However, if the cell contains a zero, I would like it to simply return the value of a cell. Example:
Col A:
A1: 01/01/2018
A2: 01/01/2018
A3: 01/01/2018
Col B:
B1: 0
B2: 1
B3: 2
Col C:
C1: Return Value of A1 (01/01/2018
)
C2: Return Value SUM(A2+B2) (01/02/2018
)
C3: Return Value SUM(A3+B3) (01/03/2018
)