You can create a new sheet and use the QUERY function to get the last 90 lines:
- If column A is unique and sorted, you simply sort your data in the reverse order and occupy the top 90 rows, and then sort it again:
=SORT(QUERY(Sheet1!A:Z,"order by A desc limit 90"),1,1) - If this is not the case, you need to calculate the offset by finding the last row and subtracting 90 from it, and then request the data to return 90 rows starting from this offset:
=QUERY(Sheet1!A:Z,"limit 90 offset "&(COUNT(Sheet1!A:A)-90))
Then you can use this sheet to create a chart.
source share