my $Formula = $Sheet->Range("A499")->{Formula}; # The next 10 rows print "=MAX(B$_:AR$_)" for 500..510;