Answer the question
In order to leave comments, you need to log in
How to display only the last successful IMPORTXML result and ignore if an error is returned?
Using the IMPORTXML formula, I pull up quotes from a third-party site. Sometimes the result is a number, sometimes it's an error. Is it possible to make formulas, for example, so as to write to the next cell (and periodically update) the result of this IMPORTXML, but only if there is no error? Those. make it so that the result of the last successful request is displayed.
Answer the question
In order to leave comments, you need to log in
This is where a script can help. Store the results of queries (date or number + data) in a separate range by the script (determine the last empty line, put data on the timer), and from there take the last one by date without errors using the FILTER () function.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question