Automatically compute variable upon input in SPSS
- by what
I have two cells in SPSS, months is a number of months, years_from_months is the number of years, calculated from the months (decimal: months / 12).
What I want is that years_from_months is calculated (and updated) automatically, when I finish entering the months in months, i.e. that I don't have to explicitly call compute manually through the menu.
I have defined years_from_months to calculate the years, but at the moment the field only updates when I go to the menu option Transform Compute variable ... and click OK in the window that opens.
How can I set up the cell to update automatically (like in Excel)?