Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional date array formula
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)))) Log contains the raw data Q1 = date of beginning of month Q2 = date of end of month This formula enters info on a sheet called Monthly Log The formula works. The problem is -- it doesn't pull the last entry for the month no matter what day of the month it is. How do I fix this? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional date array formula
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)))) Log contains the raw data Q1 = date of beginning of month Q2 = date of end of month This formula enters info on a sheet called Monthly Log The formula works. The problem is -- it doesn't pull the last entry for the month no matter what day of the month it is. How do I fix this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Array Formula for date | Excel Discussion (Misc queries) | |||
conditional formatting: problem entering EOMONTH formula... | Excel Discussion (Misc queries) | |||
excel array formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
conditional formula to recognize day of the week from date | Excel Discussion (Misc queries) |