A
Alienator
Hi everyone,
I'll give an example to show you what I want to do. I have th
following data:
0
1.2179
0
0
0
0
0
0
1.2140
0
0
0
1.2115
1.2165
I want to average the first 3 numbers that are non-zero. So the resul
of the 1st should be 1.2179+1.2140+1.2115 /3. I need the results o
these to be in the 1st row somewhere else.
The rows with zeros, and non-zeros keep changing, so you might get 1
0's in a row followed by 10 non-zero numbers. I just need to extrac
the first 3 non-zero numbers then average them
I'm good with the basic functions, but I can't figure this out
Any help at all would be most appreciated.
Thanks
Za
I'll give an example to show you what I want to do. I have th
following data:
0
1.2179
0
0
0
0
0
0
1.2140
0
0
0
1.2115
1.2165
I want to average the first 3 numbers that are non-zero. So the resul
of the 1st should be 1.2179+1.2140+1.2115 /3. I need the results o
these to be in the 1st row somewhere else.
The rows with zeros, and non-zeros keep changing, so you might get 1
0's in a row followed by 10 non-zero numbers. I just need to extrac
the first 3 non-zero numbers then average them
I'm good with the basic functions, but I can't figure this out
Any help at all would be most appreciated.
Thanks
Za