Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
caj caj is offline
external usenet poster
 
Posts: 23
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Array Formula for date caj Excel Discussion (Misc queries) 5 September 19th 06 09:05 PM
conditional formatting: problem entering EOMONTH formula... Jonathan Cooper Excel Discussion (Misc queries) 1 February 6th 06 09:28 PM
excel array formula gordo Excel Worksheet Functions 14 October 18th 05 05:19 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
conditional formula to recognize day of the week from date tiw Excel Discussion (Misc queries) 4 April 20th 05 06:19 PM


All times are GMT +1. The time now is 07:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"