Rainflow counting
- January 13, 2026
- 1 reply
- 156 views
Hi! I tried to find older discussion related to rainflow counting algorithm and found some but unfortunately they lead me to new problem. I used some program created by Ian Ward and was able to create workbook for my needs. But for some reason it doesn't always work like it should. Problems occur with some initial data and are related to the array index, I believe.
Please find two identical calculation sheets attached with different initial data in embedded excel file. The file "Rainflow Cycle Counting A" works fine but the "Rainflow Cycle Counting B" does not.
Can someone advice what is the problem, please?
And another question, at the end of the calculations I have another embedded excel file to combine the rows in matrix that has identical values in the first column. For example, if I have values 3, 3, 3 in the first column and corresponding values of 2, 4, 6 in the second column, I would like to have them added so that I have row: [3, 12]. And this should be done for the whole Y2 matrix. Is there easy way to do this in the MathCad?
Thanks for your help in advance!
- Harri

