Looks like the OFFSET() function may be using the wrong parameter delimiters[semicolom].Try changing:New_rows =OFFSET(Data!$B$1;1;0;COUNT(Data!$B$2:$B$2004);4)to this with the [comma]:New_rows =OFFSET(Data!$B$1,1,0,COUNT(Data!$B$2:$B$2004),4)