Hi,
I have the following table and I would like to automate result columns based on the formula used.
| Serial | Main_rad | SNR_Sub_rad0 | SNR_Sub_rad1 | SNR_Sub_rad2 | SNR_OK_NG | Amp_Sub_rad0 | Amp_Sub_rad1 | Amp_Sub_rad2 | Amp_OK_NG |
| XWW001 | 0 | 25 | 23 | 23 | | 5 | 3 | 5 | |
| XWW001 | 1 | 30 | 27 | 28 | | 5 | 3 | 5 | |
| XWW001 | 2 | 26 | 28 | 27 | | 3 | 5 | 2 | |
| XWW003 | 0 | 23 | 24 | 26 | | 2 | 4 | 4 | |
| XWW003 | 1 | 22 | 25 | 26 | | 3 | 3 | 3 | |
| XWW003 | 2 | 24 | 24 | 25 | | 2 | 4 | 5 | |
| XWW006 | 0 | 30 | 28 | 27 | | 4 | 5 | 4 | |
| XWW006 | 1 | 29 | 29 | 30 | | 3 | 4 | 3 | |
| XWW006 | 2 | 25 | 28 | 26 | | 2 | 5 | 5 | |
In this case, my SNR_OK_NG column will take the result from SNR_Sub_rad0 to SNR_Sub_rad2 which means that it require a formula.
Usually I compute this formula manually -> If( Sum( :SNR_Sub_rad0 > 26, :SNR_Sub_rad1 > 26, : :SNR_Sub_rad0 > 26 ) >= 2,
1, 0
);
Since I am dealing with more than 10 Pass/Fail condition on weekly basis that involves either based on single column or multiple columns results computation, it will be easier to do it once and for all instead of manually insterting columns and using formula to get the result.
Please suggest a way to do it.
Thanks.