Updated Excel functions