Count how many ROWS ago a new high was made

R

rhhince

I need to count how many rows ago a new high was made in the last 6
days. In this case 2 days ago a new high was made. How to I get excel
to count that number of rows ago without manually doing this?
 
B

Bob Phillips

Guessing a bit of the data cells, but it would be something like

=MATCH(MAX(A2:A20),A2:A20,0)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
 
R

rhhince

I tried that Bob and it was close.
I was using =MATCH(MAX(E274:E287),E274:E287,0)
The high was made 1 day ago, and the formula returned the number 13
instead of 1.
 
B

Bob Phillips

Is it ascending data?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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