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

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?