View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Lori Lori is offline
external usenet poster
 
Posts: 340
Default Defining Named Range for Lastrow in a specific column

To account for all datatypes (numeric, text, logicals but not errors)
try:

=OFFSET(PP!Goal,1,0,LOOKUP(9**9,MATCH({"'",-9**99,FALSE},PP!
C:C,-1))-1,1)

On 9 May, 14:28, Barb Reinhardt
wrote:
I want to create a named range (I'll call it GoalList) and I've tried to use
something like this:

=OFFSET(PP!Goal,1,0,COUNTA(PP!$C:$C)-1,1)

Unfortunately, there are blank values on column C, so I don't really get to
the last row in the range. I know how to do this with VBA, but I need a
named range. Can someone assist?

Thanks,
Barb Reinhardt