I think there is an issue with my >= (greater than or equal to) function.
I have a formula to catch the L and W individuals, to only add them to the group (1) if they are at or above a 4.0 in the various levels.
Here's my monstrosity of a formula that's running in the "Grouping" column:
=IF(AND(OR(NOT([@NativeLanguage]="eng"),AND(NOT(ISBLANK([@HomeLanguage])),NOT([@HomeLanguage]="eng")),AND(NOT(ISBLANK([@OUTLANGUAGE])),NOT([@OUTLANGUAGE]="eng"))),OR([@[ELB]]="F",[@[ELB]]="4",[@[ELB]]="3",[@[ELB]]="2",[@[ELB]]="1",[@[ELB]]="n",AND(OR([@[ELB]]="L",[@[ELB]]="W"),[@[Composite Level]]>=4,[@[Literacy Level]]>=4,[@[Oral Level]]>=4,[@[Comprehension Level]]>=4))),1,0)
Here's a bit of the data set, too:
| Grouping |
NativeLanguage |
HomeLanguage |
OUTLANGUAGE |
ELB |
Composite Level |
Literacy Level |
Oral Level |
Comprehension Level |
| 0 |
eng |
ENG |
|
E |
|
|
|
|
| 1 |
ARA |
|
|
F |
|
|
|
|
| 1 |
ara |
|
|
W |
2.7 |
2.3 |
3.6 |
2.7 |
| 1 |
ara |
|
|
N |
|
|
|
|
| 1 |
ara |
|
|
L |
3.4 |
3.4 |
3.2 |
3.7 |
| 0 |
eng |
ENG |
|
E |
|
|
|
|
| 1 |
SPA |
|
|
L |
4.2 |
4.3 |
4.1 |
3.8 |
| 1 |
spa |
spa |
spa |
L |
1.5 |
1.5 |
1.5 |
|
The bold portion of the formula is the part with the issue. I was troubleshooting it with F9, and it looks like ALL of the >= functions are returning true, even when the levels are below 4.0.
How do I fix this?
Thank you,