alantse2010
New Member
- Joined
- Jun 9, 2018
- Messages
- 34
- Office Version
- 365
- 2019
- 2016
- 2010
- Platform
- Windows
Hello all, i want to calculate the average refer the contractor name and ignore the text "NA".
I know that it needs to use averageifs to calculate but it shows the #DIV/0! error if the data contain text or no text
Would you please tell me how to fix it?
I had wrote down my formula and the result in below
Thank you
Sheet1:
Sheet2:
Result:
I know that it needs to use averageifs to calculate but it shows the #DIV/0! error if the data contain text or no text
Would you please tell me how to fix it?
I had wrote down my formula and the result in below
Thank you
Sheet1:
Contractor | Meet or exceed customer’s requirements2 | Manpower Resources of subcontractor2 | Cooperative of Subcontractor’s staff2 | Adequate safety measures2 |
WY | 4 | 4 | 5 | 4 |
AT | 4 | NA | 4 | NA |
TS-SP | 4 | 3 | 5 | 4 |
TS-SP | 5 | 3 | 4 | NA |
AT | 3 | 3 | 3 | 3 |
TS-SP | 2 | 2 | 2 | 2 |
WY | 4 | 4 | 4 | 4 |
TS-WS | 3 | 2 | 4 | 4 |
WL | 5 | 5 | 5 | 5 |
YF | 1 | 1 | 1 | 1 |
Sheet2:
Result:
Contractor | Average mark of adequate safety measures 2 |
AT | =AVERAGEIFS(Sheet1[Adequate safety measures2],Sheet1[Contractor],"AT", Sheet1[Adequate safety measures2],"<>NA") |
TS-SP | =AVERAGEIFS(Sheet1[Adequate safety measures2],Sheet1[Contractor],"TS-SP", Sheet1[Adequate safety measures2],"<>NA") |
WY | |
TS-WS | |
YF | |
WL |