named dynamic range that ends with first text entry

M

mcmanusb

I've found many example on how to created a dynamic named range which ends at
the last numeric or text entry. I would like to create one that ends at the
first text entry.

The data I'm workign with has a heading, then numeric data, then another
heading, then more numeric data. I only need the numeric data between the
first heading and the second, and the amount of rows between frequently
changes.

Is this possible?

Thank you, super-geniuses.
 
B

Biff

Hi!

One way:

Assume your first header is in A1 followed by several rows of numbers and
then another header.

=OFFSET(A2,,,MATCH("*",A2:A100,0))

Biff
 
B

Biff

Depending on how you intend to use this range you might want to use this
instead:

=OFFSET(A2,,,MATCH("*",A2:A100,0)-1)

Biff
 
M

mcmanusb

Perfect. Thank you!

Biff said:
Depending on how you intend to use this range you might want to use this
instead:

=OFFSET(A2,,,MATCH("*",A2:A100,0)-1)

Biff
 
R

Ragdyer

Biff - FWIW,

"*" includes nulls ( "" - zero length strings) in it's match criteria in
addition to "Text".
"*?" will look at *only* "Text" (alpha or numeric).
 
Top