HIDE #VALUE! ERROR

shickey

New Member
Joined
May 17, 2004
Messages
22
Hi,

I have a simple formula in a cell which "=SUM(I26*H26)" but when the 126 & H26 cells are empty, I get the #VALUE! error in the box. I tried conditional formating but it does not work. :oops:

Can anyone help solve this little pain ?
:devilish:


Thanks
:rolleyes:
shickey
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
shickey said:
Hi,

I have a simple formula in a cell which "=SUM(I26*H26)" but when the 126 & H26 cells are empty, I get the #VALUE! error in the box. I tried conditional formating but it does not work. :oops:

Can anyone help solve this little pain ?
:devilish:


Thanks
:rolleyes:
shickey

What's in I26 and H26?
 
Upvote 0
oops

I meant this if(H26="","",SUM(I26*H26))

If there is info in only H26 the result will be 0 that should be easy to conditionaly format.
 
Upvote 0
try this, its not very elegant but it will set the cell value to blank if there is ANY error (whether it be N/A, VALUE, NAME etc), this way you wont have to write a formula then also conditionally format the cell

=IF(ISERROR(SUM(I26*H26)),"",SUM(I26*H26))
 
Upvote 0
shickey said:
i26 = "=VLOOKUP(D26,SpecData,5,FALSE)"

H26 is blank cell

:oops:

A #VALUE! error would be diagnostic of a non-number value in H26... That said:

=IF(ISNUMBER(I26),I26*N(H26),"")
 
Upvote 0
Thank you both. They both work well. Actually, put them both in the sheet to see what will happen down the road.


You both be the man
(y)


Thanks
:pray:
shickey
 
Upvote 0

Forum statistics

Threads
1,215,890
Messages
6,127,598
Members
449,388
Latest member
macca_18380

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