Forum Discussion

Peter_Collins's avatar
Peter_Collins
Copper Contributor
Oct 21, 2021
Solved

Charting the last 20 numbers in a column containing several hundred

I want to select and copy the last say 20 numbers in a column of data, which can have more numbers added to it, onto another sheet with a line graph in it. So I want the last/most recent numbers at t...
  • HansVogelaar's avatar
    Oct 21, 2021

    Peter_Collins 

    Let's say the data are on Sheet1 in A2:An, with a header in Sheet1!A1.

    On the other sheet, enter the same header in A1.

    In A2, enter the formula

     

    =INDEX(Sheet1!A:A,COUNTA(Sheet1!A:A)-21+ROW())

     

    Fill down to A21.

Resources