make excel functions dynamic