View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] b_whittle@hotmail.com is offline
external usenet poster
 
Posts: 5
Default Finding last items in a list

Hi,

I am trying to write a macro to automate some data extraction from a
text file. My text file consists of three columns of numbers. The
number of lines of data varies from file to file.

I would like to use the 'slope' function to do a regression on the
last 20 lines of data but I am getting confused about how to specify
that range in the formula since the range will be different in every
text file I have.

Yell at me if I'm not making myself clear. Hope someone can help me

thanks
Ben