Gold Customer
Joined: 12/18/2004 Posts: 50
|
I was just wondering if there is a better alternative to COUNTTRUE for this purpose.
For example, more efficient or shorter.
I am simply counting how many of the averages exceed the next one.
10 > 20 + 20 > 50 + 50 > 100, etc.
COUNTTRUE(XAVGC10>XAVGC20,1) + COUNTTRUE(XAVGC20>XAVGC50,1) + COUNTTRUE(XAVGC50>XAVGC100,1)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
CountTrue is designed to count how many times something is true over time. Maybe something like the following?
ABS(XAVGC10 > XAVGC20) - (XAVGC20 > XAVGC50) - (XAVGC50 > XAVGC100)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 12/18/2004 Posts: 50
|
Yes, that will do it. Thanks!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|