Hello All,
I would like to use the following code:
=IF(A7 = "",1, SUM(1+A7:A7))
Note that A7 refers to the cell above the current cell
however, if I delete the row above (Row 7) I get a #REF! error. My code looks like this:
and I would like it that if the row above is deleted that the if statement is always selecting the row above.
I would like to use the following code:
=IF(A7 = "",1, SUM(1+A7:A7))
Note that A7 refers to the cell above the current cell
however, if I delete the row above (Row 7) I get a #REF! error. My code looks like this:
PHP:
ws.Cells(iRow, 1).Formula = "=if(A" & iRow - 1 & " = """",1, SUM(1+A" & iRow - 1 & ":A" & iRow - 1 & "))"
and I would like it that if the row above is deleted that the if statement is always selecting the row above.