Your calc needs to subtract before dividing by 4.
AgeMonths - ( ( 40 - GestationBirth ) / 4 )
This brings back memories. Middle child was very premature and the neonatologist and the obstetrician never could agree on the adjusted age for my kid as he was much larger than typical for his adjusted age (but then progressed in very typical fashion of what my wife and her OB insisted was the correct gestation figure.)
Thanks Phil! The issue of what is the "real" age remains somewhat debated. Presuming your boy is fine today,
He's about to become bigger than me, get's straight A's including Japanese and when I can't get a jar opened, I hand it to him...
Hi. Further on that last calculation.
I would like to modify the calculation as follows
If the age in years is ≥1 the Corrected Age calculation should be disabled and the field should be hidden. (This last because over the age of 1, the concept of corrected age does not matter)
I tried a script as follows
If [Operations::AgeYears ≥ 1]
Clear [Select; Operations::CorrectedAge]
I set this to be triggered On object enter on the field CorrectedAge (which is a calculation field as above)
Not quite enough, unfortunately. Please help.
You could include that age as part of your original calculation:
If ( AgeYears < 1 ; //put your original calculation here )