When performing calculations in **Excel**, sometimes we want the results to be displayed as a **blank cell** if the computation does not meet our needs. When we use **Excel formulas**, it frequently returns a result of zero if there are blank cells or if the calculation yields a blank cell. Weâ€™ll look at a few different ways in **excel set cell to blank in formula**. Weâ€™ll use the example dataset, which includes information on **Region**, **Product**, **Quantity Price**, and **Sales**.

**Table of Contents**hide

## Download Practice Workbook

## 6 Ways to Set Cell to Blank in Formula in Excel

As you can see, there are some **blank cells** in the **Quantity **column in our example data set, therefore when we calculate, we receive zero in the **Sales **column. Weâ€™ll look at how to utilize formulas to make these cells **blank**.

### Method 1: Set Cell to Blank Using IF Function

Here, we want to calculate the **Sales **by multiplying **Price **and **Quantity**. When we do so, we get the result as follows.

Now, we will calculate **Sales **and want to return a blank cell if the cell value is smaller than the amount **$2000**.

**Steps:**

- First, click on cell
**F5**and type the following formula.

`=IF((D5*E5)>2000,D5*E5,"")`

- Now, press the
**ENTER**.

- Finally, drag down using the mouse right key to
**AutoFill**the rest of the series.

.

Here, using the **IF** function we are telling **Excel **to return the value of multiplication of **Quantity*Price** if it is **greater **than $**2000** otherwise return a blank cell.

**Read More: Formula to Return Blank Cell instead of Zero in Excel (With 5 Alternatives)**

### Method 2: Set Cell to Blank by IF along with ISBLANK

We can use a combination of **IF** and **ISBLANK** also to get our desired result. Letâ€™s get into this.

**Steps:**

- First, click on cell
**F5**and type the following formula.

`=IF(ISBLANK(D5),"",D5*E5)`

- Now, press the
**ENTER**.

- Finally, drag down to
**AutoFill**rest of the series.

**ISBLANK **function will first determine whether the **Quantity **column has a blank cell, if yes then it will return the result as a blank cell otherwise calculate **D5*E5**.

**Related Content: Find If Cell is Blank in Excel (7 Methods)**

### Method 3: IFERROR Function to Set Cell to Blank in Excel

**IFERROR** function helps to catch mistakes (if any) in **Excel **and replace them with a** blank cell**, another value, or a custom message. Here, we are given **Sales **and **Quantity**. We want to determine the **price **of each product. So, we can simply divide **Sales **by **Quantity**. But when we do so, we get **errors**.

**Steps:**

- First, click on cell
**F5**and type the following formula.

`=IFERROR(D5/E5,"")`

- Now, press the
**ENTER**.

- After that, drag down to
**AutoFill**rest of the series.

Thatâ€™s it.

The **IFERROR **function is replacing all the **error **values with a **blank cell** here.

**Read More: How to Calculate in Excel If Cells are Not Blank: 7 Exemplary Formulas**

**Similar Readings:**

**How to Remove Blanks from List Using Formula in Excel (4 Methods)****Highlight Blank Cells in Excel (4 Fruitful Ways)****Null vs Blank in Excel****How to Apply Conditional Formatting in Excel If Another Cell Is Blank****Skip Blank Rows Using Formula in Excel (8 Methods)**

### Method 4: Set Cell to Blank in Formula Using ISERROR Function

**ISERROR** is another useful function that can be a solution to our problem. Earlier weâ€™ve used the **IFERROR** function, I**SERROR** along with the **IF** function does the same task. Weâ€™ll explore that in this section. Letâ€™s see how to use it.

**Steps:**

- First Type the following formula in Cell
**F5**.

`=IF(ISERROR(D5/E5),"",D5/E5)`

- Now, press the
**ENTER**.

- Finally, drag down to
**AutoFill**the rest of the series.

**ISERROR **function helps us to determine whether a calculation is accurate or not, **IF** along with **ISERROR **will help us to yield **blank cells** if the cell is in error mode.

**Read More: How to Return Value if Cell is Blank (12 Ways)**

### Method 5: IFNA Function to Set Cell to Blank

Now, we will see the use of the **IFNA** function for generating blank cells.

As you can see, we have a data set and from that table, we want to extract the results of product prices. We will use a combination of **VLOOKUP **and **IFNA **in this case.

If you want to know more about **VLOOKUP**, check this out in this article **How to Use VLOOKUP Function****.**

**Steps:**

- First, type the following formula in cell
**G5**.

`=IFNA(VLOOKUP(F5,$B$4:$D$12,3,FALSE),"")`

**Formula Explained**

**VLOOKUP(F5,$B$4:$D$12,3,FALSE) â†’**returns the price of Mouse (value of**F5**) from the 3rd column of the**B4:D12**range.

**Â Â Â Â Output** â†’ 50

**IFNA(VLOOKUP(F5,$B$4:$D$12,3,FALSE),â€ťâ€ť) â†’**becomes**IFNA(50,â€ťâ€ť)Â**

**Â Â Â Â Output â†’ **50 (since the value was not N/A)

- Now, press the
**ENTER**.

- At last, drag down to
**AutoFill**the series.

As you can see, **Mouse **and its price are available in the data table, and **VLOOKUP **returned the price. But **Tablet **and **Shirt **are missing in the dataset thatâ€™s why **VLOOKUP **doesnâ€™t find and it is not applicable for the dataset, thatâ€™s why the **IFNA **function helped to return the value as a blank cell, and as the **Controller **is present in the dataset it returned the value as **0**.

There is a function called **ISNA** you can combine with **IF**, which will perform the same as the **IFNA**.

**Related Content: Find, Count and Apply Formula If a Cell is Not Blank (With Examples)**

### Method 6: Set Cell to Blank Using Format Option

So far weâ€™ve shown you setting blank cells within the formula, you can also do that differently rather than the conventional formula. At the end of this article, we will see the use of the **custom format option** to generate blank cells.

**Steps:**

- Select the desired range you want to format and go to the
**Home**tab and click on the**small arrow**as shown in the image or press**CTRL+1**.

- Now, a dialogue box will pop up, and type the following formula in the
**Type**bar.

`0;-0;;@`

- At last, click
**OK**.

Thatâ€™s all.

**Read More: Fill Blank Cells with Value Above in Excel (4 Methods)**

## Practice Section

The single most crucial aspect in becoming accustomed to these quick approaches is practice. As a result, weâ€™ve attached a practice workbook where you may practice these methods.

## Conclusion

These are 6 different methods for using **Excel Set Cell to Blank in Formula**. Based on your preferences, you may choose the best alternative. Please leave them in the comments area if you have any questions or feedback

The entire premise of this article is a lie. At no point do you insert a blank cell or blank out a cell. You are inserting an empty string into those cells. Which means that the exported values from those excel sheets will include entire rows of those empty cells, which is not desired. As far as I’m aware, Excel offers now way to actually blank out a cell and it is a huge issue for me.