Thanks, I've tried that. But it didn't work. All my other formulas are working.
The formula is
=IF(ROW() = $C$15,$B$5+$B$7,IF(INDIRECT(ADDRESS(E8+1,K8,,,D8)) < $C$18,E8,MATCH($C$18,OFFSET(GFDBG!A:A,,K8-1),1)))
If the first if-statement is true then it calculates no problem. It's only when...