Periodically refresh IMPORTXML() spreadsheet function

后端 未结 4 1154
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 10:44

I have a large sheet with around 30 importxml functions that obtain data from a website that updates usually twice a day.

I would like to run the

4条回答
  •  感动是毒
    2020-11-28 11:18

    To answer your question for an easy "trigger" to force the function to reload:

    add an additional not used parameter to the url you are loading, while referencing a cell for the value of that parameter. Once you alter the content of that cell, the function reloads.

    example:

    importxml("http://www.example.com/?noop=" & $A$1,"...")
    

    unfortunately you cannot put a date calculating function into the referenced cell, that throws an error that this is not allowed.

提交回复
热议问题