google-sheetsgoogle-sheets-formula

Google Spreadsheet Last X Rows


I'm using charts in Google Spreadsheet to plot the last 90 days of data. However, when adding new data it's outside the charts currently selected range of A1:A90. Is there a function I can use to select the last 90 rows of data in a column of a Google Spreadsheet?


Solution

  • You can create a new sheet and use the QUERY function to get the last 90 rows:

    You can then use this sheet to generate your chart.