View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Rick Rick is offline
external usenet poster
 
Posts: 334
Default Graphing cyclic data

Thanks Gary"s Student!

It almost works, probably because of something I forgot to mention; all the
minimum values are negative numbers.
Rick


"Gary''s Student" wrote:

The trick is to be able to locate and pull aside the maximums and minimums.
Let's say your data is in column A. In B1 enter 0. In B2 enter:

=(A2<A1)*(A2<A3)+(A2A1)*(A2A3)*2 and copy down. Here is an example of
what you might see:

1 0
2 0
3 0
4 0
5 2
4 0
3 0
2 0
1 1
2 0
3 0
4 0
5 0
6 2
5 0
4 0
3 0
2 0
1 0
0 1
2 0
4 0
6 2
Minimums have the value 1 in column B. Maximums have the value 2 in column B.

Just use an AutoFilter on column B and copy/paste the visible cells to an
area you can chart from.
--
Gary''s Student - gsnu200775


"Rick" wrote:

I have a single column of cyclic generated data. The cycles are over time but
are not always consistent . Though it is very easy to generate a graph of the
cycles, I am trying to pull out ONLY the minimums and maximums of each cycle
for graphing, each its own data series. The number of cycles can range from
10 to 10,000 and and may have as few as 10 points per cycle to as many as
1000 points per cycle so data points can range 100 points to 10,000,000
points from which I need to pull all the minimums and all the maximums
(representing the peaks and valleys of each cycle.

I struggling with a way to do this and I would greatly appreciate any help
anyone can be.

THANKS!!
--
Rick