Whenever the source of a data query (in this case pulling data from an API query) is temporarily broken (might happen once every day or once a week) the table that it brings into the sheet reduces from the usual several columns and rows to just 2 cells (the heading of the query and then just a 0 value as I've made it return that upon error).
Looking for ideas and methods on either:
1. upon data query error to create a table the same as what would be expected (rows and columns) should the query be successful and fill it with either last known values or 0s
2. in excel formula somehow don't lose the cell reference when the data query fails and reduces to the 2 cell table (the formula ends up with #ref at the moment when the data query fails as the table loses most of its columns and rows)
Thanks,
Stuart.
Bookmarks