View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
caj caj is offline
external usenet poster
 
Posts: 23
Default Formula doesn't find last entry

Thanks for repling to this one too. I couldn't find where the other one went.
And again you have saved me a lot of frustration. Thanks for the Help. That
was the answer. You are great. Thanks again.

"Biff" wrote:

I replied to you other post. Here's what I posted:

The only thing I see is that your ROWS() functions aren't the same:

In the error trap it's:

ROWS($1:2)

And in the main segemnt it's:

ROWS($1:1)

Make them both the same:

ROWS($1:1)

Biff

"caj" wrote in message
...
This is the formula.

=IF(ISERROR(INDEX(Log!$A$1:$A$2000,SMALL(IF((Log!$ B$1:$B$2000=$Q$1)*(Log!$B$1:$B$2000<=$Q$2),ROW(Lo g!B$1:B$2000)),ROWS($1:2)))),"
",INDEX(Log!$A$1:$A$2000,SMALL(IF((Log!$B$1:$B$200 0=$Q$1)*(Log!$B$1:$B$2000<=$Q$2),ROW(Log!B$1:B$20 00)),ROWS($1:1))))

This is on Worksheet "Monthly log" and the data is on "Log".

Q1 is the beginning of the month and Q2 is the end (Based on a pulldown q2
and q1 may change.)

The formula works EXCEPT it leaves off the last entry for each month. How
do
I may it include all entries for the specified month?