Identifying both cell references & values in peaks & troughs of a multi-wave data set

robem10

New Member
Joined
Mar 5, 2015
Messages
2
I have a data set which is a recording of vertical ground reaction force during multiple hops. 30s long trial, 1000 Hz = 30,000 samples.

For each wave, I need to identify:
  • cell reference where value increases above a set threshold (e.g. >0.05 - marking the onset of the wave)
  • peak value of each wave (even if there is a double peak, I need the largest value)
  • cell where that peak value occurs
  • cell reference where value drops below a set threshold (e.g. <0.05 – marking the trough of that wave)
  • subsequent cell reference where value increases above a threshold after (e.g. >0.05 - marking the onset of the next wave)

Additional things:
All data sets will have a consistent 30,000 data points… however, the number of waves within that will fluctuate (so far there has been as little as 30ish, and up to 68 waves), and the magnitude of each wave will differ each time. If the number of waves changes for each data set, is there a way of counting the number of waves within the 30,000 samples and displaying that? My initial thoughts are have it set up for 80 waves (for example) so that all waves will be included when finding the above.

Below is an example force trace that I've made up, but it follows the same pattern that we would see for the first 4 jumps during a 30 second trial (1000Hz). When the jumper is in flight, the force never drops to exactly 0 due to noise in the system, so that's why I've put in the small positive and negative numbers around 0, so that it is truly representative of what we see in our normal files.

I hope that was clear enough, and I really appreciate any help that anyone can give!

0.9
0.85
0.9
0.9
0.7
0.5
0.8
1.1
1.6
1.8
1.9
1.7
1.3
0.7
0.01
0.04
0.02
0.01
0.03
-0.01
0.02
0.3
0.7
1.3
1.9
1.6
2
1.8
1.4
0.6
-0.02
0.01
0.03
0.01
-0.01
-0.02
0.02
0.8
1.3
1.8
1.3
0.6
-0.02
0.01
0.01
-0.03
0.02
0.8
1.7
2
1.4
0.5
-0.02
0.04
0.01
-0.02

<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Here is my take on it, with helper column and "onset" seeded in B3

Excel Workbook
ABCD
2peak
30.9onset1 
40.85   
50.9
60.9
70.7
80.5
90.8
101.1
111.6
121.8
131.9
141.7
151.3
160.7
170.01trough11.9
180.04
190.02
200.01
210.03
22-0.01
230.02
240.3onset2
250.7
261.3
271.9
281.6
292
301.8
311.4
320.6
33-0.02trough22
340.01
350.03
360.01
37-0.01
38-0.02
390.02
400.8onset3
411.3
421.8
431.3
440.6
45-0.02trough31.8
460.01
470.01
48-0.03
490.02
500.8onset4
511.7
522
531.4
540.5
55-0.02trough42
560.04
570.01
58-0.02
Sheet3
 
Upvote 0
@konew1: I do apologise that my reply has been so late - but with your help I managed to tweak it to get it to work with my data set. Massive help, has saved me hours and hours of time per week! Many thanks for your help again, it was and is much appreciated!!
 
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top