Guessing a bit of the data cells, but it would be something like
=MATCH(MAX(A2:A20),A2:A20,0)

Signature
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
>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?
rhhince - 14 Jan 2007 02:34 GMT
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.
> Guessing a bit of the data cells, but it would be something like
>
[quoted text clipped - 11 lines]
> > 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?
Bob Phillips - 14 Jan 2007 11:48 GMT
Is it ascending data?

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> I tried that Bob and it was close.
> I was using =MATCH(MAX(E274:E287),E274:E287,0)
[quoted text clipped - 16 lines]
> > > 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?
rhhince - 14 Jan 2007 03:01 GMT
What I did was this and it worked. Thanks.
=14-MATCH(MAX(E300:E313),E300:E313,0)
> Guessing a bit of the data cells, but it would be something like
>
[quoted text clipped - 11 lines]
> > 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?