Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Length of series

How do you find the length of a data series? I have a column with data.
Starting at a particular point in that column how do you find the last cell
that contains any data?

Now I have code that does that but I think there is a function that odes it
for you, I just cannot figure out the name of it.

My code looks like:

Do Until IsEmpty(rng(1).Offset(i, 0)) = True
i = i + 1
Loop
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Length of series

Sorry already asked this question. Please disregard!

"Arne Hegefors" skrev:

How do you find the length of a data series? I have a column with data.
Starting at a particular point in that column how do you find the last cell
that contains any data?

Now I have code that does that but I think there is a function that odes it
for you, I just cannot figure out the name of it.

My code looks like:

Do Until IsEmpty(rng(1).Offset(i, 0)) = True
i = i + 1
Loop

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Length of series

MsgBox (ActiveCell.End(xlDown).Row - ActiveCell.Row)

lg
Robin

Arne Hegefors schrieb:

How do you find the length of a data series? I have a column with data.
Starting at a particular point in that column how do you find the last cell
that contains any data?

Now I have code that does that but I think there is a function that odes it
for you, I just cannot figure out the name of it.

My code looks like:

Do Until IsEmpty(rng(1).Offset(i, 0)) = True
i = i + 1
Loop


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transpose random length series of cells [email protected] Excel Worksheet Functions 7 November 17th 08 08:34 PM
Series with noncontiguous unequal length data? [email protected] Charts and Charting in Excel 3 June 15th 06 06:23 PM
Variable series length/range JessK Charts and Charting in Excel 1 March 3rd 06 04:02 AM
remove last character in a series of different length part #'s leo Excel Discussion (Misc queries) 2 December 12th 05 11:41 AM
Plotting different length series in a chart Big Red Charts and Charting in Excel 2 May 5th 05 02:00 PM


All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"