# Using IF for blank cells

#### Yusuf

##### Active Member
Hi all

I'm trying to write a formula that would return "not complete" if both cells I'm looking at are blank

Eg;
A1 = ""
B1 = ""
A2 = 1
B2 = 4
A3 = 6
B3 = ""

In Col C I would like the formula telling me that only A1 and B1 is "not complete"

### Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi Yusuf,

Try this ...
=IF(A1="",IF(B1="","Not Complete",""),"")
... and Copy Down as Needed.

Hope this Helps.
All the Best.

Hi,

Try:

=IF(A1&B1="","not complete","XXX")

PERFECT!!
Thanks guys
Yusuf

Replies
11
Views
277
Replies
3
Views
722
Replies
7
Views
214
Replies
1
Views
309
Replies
16
Views
401

1,203,073
Messages
6,053,381
Members
444,660
Latest member
Mingalsbe

### 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.

### Which adblocker are you using?

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

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