Nested IF formula that gives "No" for empty cells

kohlo

New Member
Joined
Mar 22, 2018
Messages
15
Hello! Right now in Google Sheets I have a code that looks at an imported feed that tells me if the value in column A is found in Import_Sheet (either 'Yes' or 'No').

Code:
=arrayformula(if(A2:A<>"",if(isna(vlookup(A2:A,Import_Sheet!A:A,1,false))=false,"Yes","No"),""))

What I would like for this to do, is if the cell in column A is empty it will also show 'No'. Right now it just shows a blank cell. I've been trying to inject this snippet, but wherever I put it, it completely breaks the code:

Code:
IF(ISBLANK(A2),"No",A2)

Any ideas how I could get this to work? Another way that doesn't use ISBLANK would be fine too, as long as it prints 'No' for empty cells.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Maybe
Excel Formula:
=arrayformula(if(A2:A<>"",if(isna(vlookup(A2:A,Import_Sheet!A:A,1,false))=false,"Yes","No"),"No"))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,948
Messages
6,175,577
Members
452,652
Latest member
eduedu

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