I have the following macro to write the value in column 1 based on the available value in column 2 and 3
Sub ColumnValue()
Range("A18").Value = "=IF($B$18=0,0,1)"
Range("A19").Resize(Cells(Rows.Count, "B").End(xlUp).Row - 18) = "=IF(C19=1,A18,IF(C19=0,A18+1,""""))"
End Sub
But I want...