Hi,
Can somebody please help me out here.
When the Pass/Fail becomes True, only at that point I want to take the average value in the third column(Load (=(B2+B3)/2)). But I only want to take the average when the pass/fail becomes TRUE in the first instance for each iteration(in this case - row 7) not for all the TRUE cases(These cases can be set as N/A including the FALSE cases) . Here i have pasted the data for just 2 iterations, but i will be doing it for more. How can i do this?
Appreciate your help! Thank you.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Iteration[/TD]
[TD]Measure[/TD]
[TD]Load[TABLE="width: 71"]
<tbody>[TR]
[TD="class: xl65, width: 71"](=(B2+B3)/2)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Pass/Fail[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.002[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.300[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.600[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.199[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.399[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.599[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.799[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2.000[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2.200[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3.000[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]9.999[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0.002[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0.300[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0.600[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.199[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.399[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.599[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.799[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2.000[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2.200[/TD]
[TD][/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]3.000[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9.999[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
</tbody>[/TABLE]
Regards,
Melwin
Can somebody please help me out here.
When the Pass/Fail becomes True, only at that point I want to take the average value in the third column(Load (=(B2+B3)/2)). But I only want to take the average when the pass/fail becomes TRUE in the first instance for each iteration(in this case - row 7) not for all the TRUE cases(These cases can be set as N/A including the FALSE cases) . Here i have pasted the data for just 2 iterations, but i will be doing it for more. How can i do this?
Appreciate your help! Thank you.
<tbody>[TR]
[TD]Iteration[/TD]
[TD]Measure[/TD]
[TD]Load[TABLE="width: 71"]
<tbody>[TR]
[TD="class: xl65, width: 71"](=(B2+B3)/2)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Pass/Fail[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.002[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0.300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