I'm sorry if this question has been asked before, I searched on SO, but couldn't find it. Currently I'm doing things such as:
=
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE()),
))))))))
But I'd like to have a formula which does:
RETRY_IFERROR(SOME_GET_REQUEST_TO_3RDPARTY_SERVICE(), 8)
Does such a formula exist? If not, how would one create it in Google Apps Script? I did find some inspiration on how to do it in Google Apps Script (see Use existing spreadsheet formulas in a custom formula in google docs/spreadsheets ).