how about this =INT((ROWS(A$1:A1)-1)/3)+2 and dragged down.