Formula doesn't find last entry

C

caj

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(Log!B$1:B$2000)),ROWS($1:2)))),"
",INDEX(Log!$A$1:$A$2000,SMALL(IF((Log!$B$1:$B$2000>=$Q$1)*(Log!$B$1:$B$2000<=$Q$2),ROW(Log!B$1:B$2000)),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?
 
B

Biff

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
 
C

caj

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.
 
B

Biff

You're welcome. Thanks for the feedback!

Biff

caj said:
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.
 
Top