To keep cell blank instead of #VALUE! when apply formula

Kenor

Board Regular
Joined
Dec 8, 2020
Messages
116
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

How to keel cell blank instead of #VALUE! ?
I just want to use simple formula I10-L10.
I try to use this formula >> '=IF((ISERROR(formula)),"",(formula))
Yes, the cell with #VALUE before become blank, but some cells that should have value (e.g. 500 - 0 = 500) also become blank.

Someone can help me?
 

Attachments

  • How to keep cell blank instead of #VALUE!.PNG
    How to keep cell blank instead of #VALUE!.PNG
    40.2 KB · Views: 11

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
VBA Code:
=IFERROR(formula,"",formula)

Or perhaps :

Code:
=IFERROR(A1,"",Formula)

A1 replace with specific cell
 
Upvote 0
Can you post a small sample with XL2BB and include some rows that produce the error and some where you have the example like 500 - 0?
 
Upvote 0
IFERROR only takes two arguments:

Excel Formula:
=IFERROR(formula,"")
 
Upvote 0
Can you post a small sample with XL2BB and include some rows that produce the error and some where you have the example like 500 - 0?
Hi, Sorry I don't know how to use XL2BB, need to install first right?

Actually my problem as below;

I apply same formula for both picture, but when L16, L17, L18 have no value, O16 ~ O18 also become blank.

1617010856104.png

1617010821059.png
 
Upvote 0
need to install first right?
Yes, follow the XL2BB hyperlink in post #3 or my signature block below.

My guess is that column L contains a formula returning "" which is why I was asking for a sample with XL2BB as it would confirm one way or the other.
In any event, see if this works.
Excel Formula:
=I10-N(L10)
 
Upvote 0
VBA Code:
=IFERROR("",I16-L16)
That will always return a null string and never return I16-L16.

BTW, rather than use the vba tag, the forum has a specific tag for formulas:
1617061347657.png
 
Upvote 0

Forum statistics

Threads
1,216,126
Messages
6,129,007
Members
449,480
Latest member
yesitisasport

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top