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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,214,591
Messages
6,120,432
Members
448,961
Latest member
nzskater

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