IF function question

Mikalas

New Member
Joined
Apr 17, 2020
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Hello, I'm still learning IF functions and have a question to see if this is possible. I have 2 fields that can have a Yes, No, N/A response to determine if supplemental criteria for a project was met. I'm trying to get a response of Yes if the field is "Yes" or "N/A" in both of these columns as I couldn't figure out how to break this down. I think I've come up with the right function for this but if I drag down the formula, I get all "YES" in the blank fields. How can I make this so that I don't get "Yes" in the blank fields when dragged down if the data has not been input yet? This is my current formula to get the Yes/No response: =IF(AND(NOT(B4="No"),NOT(C4="No")),"Yes","No"). Or is there a way to to combine functions to say if B=Yes and C=Yes then D is Yes (true) OR if B=N/A and C=N/A then D=N/A OR if B=No and C = No then D= No and also still have the "blank" response if I drag down the function? Here is a screen shot of the portion of my sheet that I'm trying to fix:

View attachment 88787

I'm sure this is basic for most of you but thank you in advance from a new learner!

Michelle
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How about
Excel Formula:
=if(sum(countifs(b4:c4,{"Yes","N/A"}))=2,"yes","no")
 
Upvote 0

Forum statistics

Threads
1,215,128
Messages
6,123,204
Members
449,090
Latest member
bes000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top