# stopping #Value! showing

#### coltheplumb

##### Well-known Member
Hi All ok I have this in cell J4 =IF(H4,H4/100*20,"")*G4what do I need to add to the formula to stop it putting #Value! In cell J4 ifCell H4 and G4 is empty.<o></o>
All help appreciated<o></o>
Colin X

### Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
=iferror(if(h4,h4/100*20,"")*g4,"")

Last edited:
if the sum is not as expected you need to bracket it

H4/100*20

=33/100*20 = 6.6
=(33/100)*20 = 6.6
=33/(100*20) = 0.0165

works a treat thanks very much X

Replies
3
Views
98
Replies
3
Views
85
Replies
2
Views
116
Replies
7
Views
183
Replies
3
Views
365

1,203,683
Messages
6,056,722
Members
444,887
Latest member
cvcc_wt

### 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.

### Which adblocker are you using?

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

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