Hi,
I have a marco that will insert a new row and then add formulas to some of the new cells.
My problem is formating the formula to reference the correct cell.
My formula is
=DATE(YEAR(D13])+1,MONTH(D13),DAY(D13))
The problem being is that I need not to always reference cell D13, but the Cell that is -3 colums from the cell that contains the formula, as the value of this cell is different every time.
So ideally I would like a way of writing:
=DATE(YEAR((OFFSET([this cell],0,-3)))+1 etc
where [this cell] references the cell that the formula is in without any changes to the formula..
Any ideas?
Have tried the Indirect and Cell Adress fuinctions alongside the offset function but I cant get anything to work!
Thanks
Wil
Bookmarks