Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
238 views
in Technique[技术] by (71.8m points)

Is there a way to make google sheets import range function stick to the range when it changes in the source sheet?

Context

So I have been using query and importRange to pull data from my other sheets in conjunction with importRange. This is because importRange did not get all the data from the spreadsheet. But it seems as though when I re-open the sheet, after leaving it for a day, the data in the new spreadsheet moves cells from where I placed them.

I have time-series data that have different dates and so the data is placed in different cells to each other relative to the dates. I have placed an example below:

enter image description here

enter image description here

enter image description here

So for instance in the second picture, the data for Softcat will move to a different cell location rather than where I imported it from. The same for Trainline (the third picture).

Problem

  1. Is there a function I can use to prevent it from leaving these cells that I have attached them to? Especially for the ones at the lower end of the spreadsheet?
  2. Should I move data in the source sheet (move around columns), is there a way to make importRange or some other means to stick with this column that has this specific data set? I tried fixing it with the '$' sign but it still displays different data from the listed column reference.

This is the sheet

question from:https://stackoverflow.com/questions/65557770/is-there-a-way-to-make-google-sheets-import-range-function-stick-to-the-range-wh

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...