I'm not a programmer so this is where I'm stuck. I need to compare these 5 variables to determine which has the largest value and return a 1, 2, 3, 4, or 5 based on the largest value. Ideally the new variable would be called 'segment' and would have the number 1, 2, 3, 4, or 5 assigned to it. From there I can pick up the new variable ('segment') and use it for the survey quotas. I'm assuming I need to use JavaScript but that's way out of my league. Any help would be appreciated.
Best answer by JenCX
View original