excel = this cell if this cell is blank

How do I use an IF staement to make a cell = to another cell if a third cell is blank??

IE:  a1=b1 if c1 is blank
Curtis LongAsked:
Who is Participating?
 
rspahitzConnect With a Mentor Commented:
Yes...add an AND clause right after the IF portion:

=IF( AND(C1="", D1=""), B1, "")
0
 
rspahitzCommented:
This formula in A1:

=IF(C1="", B1, "other value")
0
 
Saqib Husain, SyedEngineerCommented:
Enter this formula in A1
=if(c1="",b1,"")
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
rspahitzCommented:
In some cases, you need to also check for empty, which can be done this way:

=IF(LEN(C1)=0, B1, "other value")
0
 
Curtis LongAuthor Commented:
Nice!!  :-)

One other question:

If I now want to say a1 = b1 if c1 is blank AND D1 says sam

Can I do this without blowing my brain up??  :-)
0
 
Curtis LongAuthor Commented:
Wonderful!!  Thank you!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.