Geting the last x values from a column

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

I'm interested, for instance, allways to get the last 30 values of a
series of values from one column. Everyday, there are more and more
records, no constant number. Is it possible ?

Thanks
 
Assuming it won't be any empty rows in-between

select let's say A1:A30 on the sheet where you want the last 30 and with A1
active array enter
(enter with ctrl + shift & enter) this formula

=OFFSET(Sheet2!$A$1,COUNTA(Sheet2!A:A)-1,,-30)

adapt to fit your ranges
 
Peo Sjoblom said:
Assuming it won't be any empty rows in-between

select let's say A1:A30 on the sheet where you want the last 30 and with A1
active array enter
(enter with ctrl + shift & enter) this formula

=OFFSET(Sheet2!$A$1,COUNTA(Sheet2!A:A)-1,,-30)

adapt to fit your ranges



--

Regards,

Peo Sjoblom
Thanks a lot both of you guys.....it works now...both solutions are good...
Regards,


Adrian
 
Back
Top