I have a dataset, which when graphed is a much like a sine curve. I have attached a file which shows this (graphed in BLUE).
I need to identify the points which are where the Blue curve is increasing at the fastest rate and decreasing at the fastest rate. To do this i have graphed the derivative of the blue curve (graphed in RED). The fastest rate of increase and decrease in the blue line are marked by the maximum and minimum peaks in the Red lines.
What I need to do is identify the max and the mins in the red line and then add up the flow (Q) values between every max and minimum.
Right now I am doing this manually, and it is a very tedious task as I need to do this for over 1000 workbooks with Flow (Q) data. I am wondering if anyone can help me automate it? (either through the use of formulas or macros).
Note: as you can see in the red line, for every peak there appear to be 2-3 peaks immediately next to it. What I need to do is pick the biggest one essentially. Same goes for the mins.
I'd be grateful if anyone can help me automate any part of this process.
Cheers!
Bookmarks