Array for conditional calculation

Array for conditional calculation