Chefsohail
Board Regular
- Joined
- Oct 3, 2020
- Messages
- 90
- Office Version
- 365
- Platform
- Windows
Hi Team,
I am working on a data set and need help in arranging the data set for a pareto chart. I have a dynamic data and if i arrange it every time, it will be a manual task. I need assistance where i can eliminate the manual work.
Below is the situation -
I have my data arranged in following pattern. I perform audits and mark errors on Transactions. Lets say Number column is the transaction number. And one transaction can have multiple errors. I have given an example below of 4 errors types.
Table 1
Eg with data: Here score of 1 means No Error. If transaction has errors, the score given to error type (Error1, Error2, Error3, Error4) is 0.
Table 2
I need to perform an error analysis now to understand which error is repeated the most. And I need this to be dynamic. If someone can share a solution that'll be great. If nothing rings a bell, and if you can help me convert this to below, that'll be awesome.
Table 3
So basically -
1. Transaction #1 did not have any errors. Hence data is not included in Table 3.
2. Transaction #2 had 4 errors. The column wise data is now split to rows with multiple entries of the same transaction with different error type.
3. Transaction #3 has 3 errors, Transaction #4 has 2 errors and Transaction #5 has 1 error.
I have tried to simplify the query here. However in actual, my data set contains multiple error types and many other columns needed for the project.
Please do let me know if we have any questions
I am working on a data set and need help in arranging the data set for a pareto chart. I have a dynamic data and if i arrange it every time, it will be a manual task. I need assistance where i can eliminate the manual work.
Below is the situation -
I have my data arranged in following pattern. I perform audits and mark errors on Transactions. Lets say Number column is the transaction number. And one transaction can have multiple errors. I have given an example below of 4 errors types.
Table 1
Number | Error1 | Error2 | Error3 | Error4 | Error_Count | CTQ_Count | Score (number format %) |
1 | =COUNTIF(B2:E2,0) | =COUNT(B2:E2) | =SUM(B2:E2)/COUNT(B2:E2) | ||||
2 | =COUNTIF(B3:E3,0) | =COUNT(B3:E3) | =SUM(B3:E3)/COUNT(B3:E3) | ||||
3 | =COUNTIF(B4:E4,0) | =COUNT(B4:E4) | =SUM(B4:E4)/COUNT(B4:E4) | ||||
4 | =COUNTIF(B5:E5,0) | =COUNT(B5:E5) | =SUM(B5:E5)/COUNT(B5:E5) | ||||
5 | =COUNTIF(B6:E6,0) | =COUNT(B6:E6) | =SUM(B6:E6)/COUNT(B6:E6) |
Eg with data: Here score of 1 means No Error. If transaction has errors, the score given to error type (Error1, Error2, Error3, Error4) is 0.
Table 2
Number | Error1 | Error2 | Error3 | Error4 | Error_Count | CTQ_Count | Score |
1 | 1 | 1 | 1 | 1 | 0 | 4 | 100% |
2 | 0 | 0 | 0 | 0 | 4 | 4 | 0% |
3 | 1 | 0 | 0 | 0 | 3 | 4 | 25% |
4 | 1 | 1 | 0 | 0 | 2 | 4 | 50% |
5 | 1 | 1 | 1 | 0 | 1 | 4 | 75% |
I need to perform an error analysis now to understand which error is repeated the most. And I need this to be dynamic. If someone can share a solution that'll be great. If nothing rings a bell, and if you can help me convert this to below, that'll be awesome.
Table 3
Number | Error Type |
2 | Error1 |
2 | Error2 |
2 | Error3 |
2 | Error4 |
3 | Error2 |
3 | Error3 |
3 | Error4 |
4 | Error3 |
4 | Error4 |
5 | Error4 |
So basically -
1. Transaction #1 did not have any errors. Hence data is not included in Table 3.
2. Transaction #2 had 4 errors. The column wise data is now split to rows with multiple entries of the same transaction with different error type.
3. Transaction #3 has 3 errors, Transaction #4 has 2 errors and Transaction #5 has 1 error.
I have tried to simplify the query here. However in actual, my data set contains multiple error types and many other columns needed for the project.
Please do let me know if we have any questions