Solved

excel = this cell if this cell is blank

Posted on 2015-02-02
6
56 Views
Last Modified: 2015-02-02
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
0
Comment
Question by:HDM
  • 3
  • 2
6 Comments
 
LVL 22

Expert Comment

by:rspahitz
ID: 40584595
This formula in A1:

=IF(C1="", B1, "other value")
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 40584599
Enter this formula in A1
=if(c1="",b1,"")
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 40584600
In some cases, you need to also check for empty, which can be done this way:

=IF(LEN(C1)=0, B1, "other value")
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:HDM
ID: 40584640
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
 
LVL 22

Accepted Solution

by:
rspahitz earned 500 total points
ID: 40584661
Yes...add an AND clause right after the IF portion:

=IF( AND(C1="", D1=""), B1, "")
0
 

Author Closing Comment

by:HDM
ID: 40584730
Wonderful!!  Thank you!!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now