I have written the following formula, which works for a single row, but I want to convert it to a column formula where [End Date]329 refers to the End Date in the row above
=IF(AND(CONTAINS("Milestone", [Task Name]@row), ([End Date]329 > ([End Date]@row + 1))), 1, 0)