Hi Everyone
I need some help in my one of the problem I am facing and not able to get the solution so far. I have the below data set
| Sector | Jan_2025 | Feb_2025 | Mar_2025 | Apr_2025 |
| Num_Auto | 0 | 2 | 5 | 8 |
| Deno_Auto | 0 | 6 | 14 | 18 |
| Num_Aviation | 14 | 50 | 60 | 70 |
| Deno_Aviation | 50 | 55 | 65 | 90 |
| Num_Cement | | 05 | 08 | 99 |
| Deno_Cement | | 09 | 18 | 120 |
My Requirements:- Below are my requirements:-
a) I want to divide num / Deno for each sector. This row should be called as Error Rate. For example Feb_2025, in Num_Auto it is 2 and Deno_Auto it is 6, then I should get 2/6 = 33.33%.
b) Also, if I can get two blank rows - one above and one below of Error row.
Note:- Point to be noted here is that, I might not get the same sector all the time. This time I have received Auto, Aviation and cement, next time I might just receive Cement along with a new sector called Power.
| Sector | Jan_2025 | Feb_2025 | Mar_2025 | Apr_2025 |
| Num_Auto | 0 | 2 | 5 | 8 |
| Deno_Auto | 0 | 6 | 14 | 18 |
| | | | | |
| Error Rate | 0 | 33.33% | 35.71% | 44.44% |
| | | | | |
| Num_Aviation | 14 | | 60 | 70 |
| Deno_Aviation | 50 | | 65 | 90 |
| | | | | |
| Error Rate | 28% | | 92.31% | 77.78% |
| | | | | |
| Num_Cement | | 05 | 08 | 99 |
| Deno_Cement | | 09 | 18 | 120 |
| | | | | |
| Error Rate | | 55.56% | 44.44% | 82.50% |