Integrated Arthurian function in excel