Can you upload a representative workbook? With such limited data as your example in the question, any number of things could be the problem.
I use Excel 2010 so that isn't the problem. Are you entering the equation in row 2 of the worksheet in question? This is important because the cell references are for row 2. If you are starting in a different row, change the cell reference row number to the correct starting row. If there is still a problem, it is likely that the dates in column A are not real Excel recognized dates....can't tell without seeing. I wrote down the wrong formula....sorry about that, I must have been in a hurry because that is completely wrong.
You say that you are starting in row 173 so the formulae should be:
Column Z
Column AA
Column Y
Sorry for the bad post.
Bookmarks