IF Statement

I have the following IF that is returning #N/A

I m looking at three columns and am wishing to return 1 if any of the contain #N/A and 0 if none of them do, so an IF/OR statement

I have made the below but believe it needs tweaking

=IF(OR(M2="#N/A",N2="#N/A",O2="#N/A"),1,0)

Thanks
Seamus
Seamus2626Asked:
Who is Participating?
 
StephenJRConnect With a Mentor Commented:
Seamus - does this work?

=IF(OR(ISNA(M2),ISNA(N2),ISNA(O2)),1,0)
0
 
Seamus2626Author Commented:
Thanks Stephen!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.