View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default row number within a formula

On Mon, 15 Jan 2007 07:43:00 -0800, Charles
wrote:

I am trying to use the row number within a formula.

For example, instead of
=MIN(A2:A25)

I would need to incorporate ROW(A25) into the formula.

Something like this:
=MIN(A2:A"ROW(A25)")
although this syntax is incorrect.

Thanks!



Here's one way:

=MIN(OFFSET(A2,0,0,24))
--ron