이 함수는 Google Sheets에서도 Excel과 동일하게 작동합니다 — 구문과 인수가 같습니다.
ERROR.TYPE(error_val)The ERROR.TYPE function returns a specific integer that identifies the type of error in a cell. If the referenced cell does not contain an error, the function returns the #N/A error value.
=ERROR.TYPE(#DIV/0!)결과: 2
Returns 2 because #DIV/0! is the second error type in the system.
=ERROR.TYPE(#N/A)결과: 7
Returns 7 because #N/A is the seventh error type.
The function returns the #N/A error value.