Solved

Leave Cell Blank in Excel

Posted on 2014-01-07
2
439 Views
Last Modified: 2014-01-07
I would like to have an "if" formula that gives me a calculation if numbers in the cells meet a criteria (e.g. sum to greater than 0) and leaves the cell blank if they do not.

Here is an example:
if(A1+A2>0, A1+A2, {formula to leave cell blank})

What would be the syntax I could use to leave a cell blank (meaning not a 0, but actually leave it without a value)?
0
Comment
Question by:Mark Grondin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Vipin Kumar earned 500 total points
ID: 39764056
The syntax that you can use is:

IF(SUM(A1+A2)>0,SUM(A1+A2),"")
0
 
LVL 5

Author Closing Comment

by:Mark Grondin
ID: 39764067
So simple, should have thought of that...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

636 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