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 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default 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   Report Post  
Posted to microsoft.public.excel.misc
caj caj is offline
external usenet poster
 
Posts: 23
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default 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
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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Formula dependent on a cell entry clatters69 Excel Discussion (Misc queries) 2 September 18th 06 09:29 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
I there an easy way to find out if any formula reference a cell? Marc New Users to Excel 1 December 6th 04 10:41 PM


All times are GMT +1. The time now is 10:21 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"