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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
79,594
Office Version
  1. 365
Platform
  1. Windows
Maybe
Excel Formula:
=arrayformula(if(A2:A<>"",if(isna(vlookup(A2:A,Import_Sheet!A:A,1,false))=false,"Yes","No"),"No"))
 
Solution

Forum statistics

Threads
1,181,165
Messages
5,928,477
Members
436,604
Latest member
nomi_nomi

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
Top