use match from the bottom to the top.

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)"
 
S

Sean Timmons

You can do =counta($A$8:$A$1) - MATCH(A1,$A$8:$A$1,0) or count() if you're
using numbers.
 
D

daddylonglegs

But what if some cells in the range are empty? Try

=ROWS($A$1:$A$8)-MATCH(A1,$A$8:$A$1,0)+1
 
K

kang

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

Top