Excel Visual Basic Array Functions Python