use match from the bottom to the top.

  • Thread starter Thread starter kang
  • Start date Start date
K

kang

the match function gives the index from the top
is it possible to use match from the bottom to the top?
ie. the meaning of "=MATCH(A1,$A$8:$A$1,0)"
 
You can do =counta($A$8:$A$1) - MATCH(A1,$A$8:$A$1,0) or count() if you're
using numbers.
 
But what if some cells in the range are empty? Try

=ROWS($A$1:$A$8)-MATCH(A1,$A$8:$A$1,0)+1
 
thanks daddylonglegs.
what if I want to get the last instance of the match cell?
 
I don't want the first instance of the matched cells be indexed from the
bottom, but, I want the last instance of the matched cells.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top