Am I to assume...

C

Cerberus

Am I to assume that there is not a way to use a range in an IF statement. If
not is there a way to incorporate #N/A error into a conditional format?
 
G

Gary''s Student

Depends on what you are trying to do. For example, we might be interested in
knowing if any cells in A1 thru A1000 have #N/A:

=IF(ERROR.TYPE(SUM(A1:A1000))=7,"error present","clean")

This also shows a way to test for #N/A
 
C

Cerberus

Thank you for your help.

Gary''s Student said:
Depends on what you are trying to do. For example, we might be interested in
knowing if any cells in A1 thru A1000 have #N/A:

=IF(ERROR.TYPE(SUM(A1:A1000))=7,"error present","clean")

This also shows a way to test for #N/A
 
Top