Suppose I took all the students in Big Class and put them in groups by gender and age, e.g. 12yo boys in one group, 12yo girls in another, etc.
With that setup, I'd like to create a formula column that has a 1 if that group has the shortest maximum height for their age across both genders, and a 0 otherwise.
For example, in this data:
| Group | Name | Height | NEW COLUMN |
| 12yo Girls | KATIE | 59 | 0 |
| | JANE | 55 | 0 |
| | JACLYN | 66 | 0 |
| | LILLIE | 52 | 0 |
| 12yo Boys | TIM | 60 | 1 |
| | JAMES | 61 | 1 |
| | ROBERT | 51 | 1 |
The maximum height for girls is 66 and for boys is 61, so the boys group has the shortest maximum height for their age, so the new formula column would have a 1 for Tim, James, and Robert, and a zero for Katie, Louise, Jane, etc.
Is this possible in a formula column?
(I can share what I've tried, but I'm trying to avoid the xyproblem, http://xyproblem.info here...)