View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Reference the top line of a filtered list

Hi,

This is a great example of the benefits of using range names, suppose you
name your range A, then Glenn's formula becomes

=INDEX(A,MATCH(1,SUBTOTAL(3,OFFSET(A,ROW(A)-ROW(A2),,1)),))

Anytime you find yourself using the same range over and over in one formula
a range name can shorten it.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"doctorhappy" wrote:

I want to be able to reference the top line of a filtered list with the
intention of using it in a vlookup function in another cell. For example, if
col A has a list of tutor groups R1, R2, R3 etc... and I have a vlookup to
match the tutor group to a person, when I filter by tutor group the persons
name is displayed in this other cell.