Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula doesn't find last entry
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? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
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? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula doesn't find last entry
You're welcome. Thanks for the feedback!
Biff "caj" wrote in message ... 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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Is it possible? | Excel Worksheet Functions | |||
Formula dependent on a cell entry | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Match then lookup | Excel Worksheet Functions | |||
I there an easy way to find out if any formula reference a cell? | New Users to Excel |