Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IF Statement

Posted on 2011-04-21
2
Medium Priority
?
130 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:Seamus2626
2 Comments
 
LVL 24

Accepted Solution

by:
StephenJR earned 2000 total points
ID: 35440565
Seamus - does this work?

=IF(OR(ISNA(M2),ISNA(N2),ISNA(O2)),1,0)
0
 

Author Closing Comment

by:Seamus2626
ID: 35440585
Thanks Stephen!
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question