I am trying to evaluate a stream of data and establish both the turning points and the trend of that data . I have some 1000 data samples all in a row and a sample was taken every 1 Second. I can evaluate the turning points when the data peaks or troughs simply enough i.e. data is ......60, 70 , 60 is a peak and 90, 80, 90 is a trough. The problem is when no sample is recorded for the actual peak or trough i.e. .........60,70,70,60.......... or 90,80,80,90. I have been using Excel to try and do this and failed so I have purchased a book on Excel VBA programming and reckon it will take me a few years to find a solution. Manually I can delete the rows that do not change from the previous sample which will cause the data to peak or trough so even I can evaluate it.
Can any body help me do this by helping me write some code in a VBA module.
I have data in the range A1:A1000 but this may have less or more rows than this on another occasion. I want to put a TP next to the data which is a turning point and delete the data that isn’t a TP.
Can you help or do I read that book for the next few years … no no don’t answer that. Any help appreciated.
Bookmarks