Problem with =H4*C4/5 formula?

PhilipeC

Board Regular
Joined
May 1, 2018
Messages
56
I want to calculate H4 multiplied by C4 and then divided by 5 such as =H4*C4/5 but using this simple formula, if cell H4 is in blank than #VALUE ! appears. How to solve this issue?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try something like this:
Code:
=IFERROR(H4*C4/5,0)
Or maybe
Code:
=IFERROR(H4*C4/5,"n/a")

Does that help?
 
Upvote 0
If you are in a region that uses semicolons instead of commas in formulas...
Try this:
Code:
=IFERROR(H4*C4/5;0)
Does that solve the problem?
 
Upvote 0
Alternatively:

=N(H4)*N(C4)/5

The N() function returns zero when H4 or C4 is not numeric.
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,370
Members
449,155
Latest member
ravioli44

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