1. Yes you can use a formula. Here is one version that you could use
If( Row() == 1,
min = Col Min( :height );
incr = (Col Max( :height ) - Col Min( :height )) / 9;
);
Floor( (:height - min) / incr ) + 1;
It uses the Big Class sample data table. Just change the variable :Height out for the column you are calculating against.
2. But the number of rows does not affect the Recode. Only the number of unique values within those rows.
Jim