#DIV/0!

syeong

New Member
Joined
Sep 22, 2002
Messages
3
I am aware that I can use the IF(ISERR.. function to stop the cell display this message, but I can see to get the cell to give a blank display when there is no value in D18,(the formula works OK). Any help will be appreciated.

=IF(ISERR(($C$9*(E18+F18))+($C$10*E18)+C18)/D18,"",(($C$9*(E18+F18))+($C$10*E18)+C18)/D18)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
On 2002-09-23 18:59, syeong wrote:
I am aware that I can use the IF(ISERR.. function to stop the cell display this message, but I can see to get the cell to give a blank display when there is no value in D18,(the formula works OK). Any help will be appreciated.

=IF(ISERR(($C$9*(E18+F18))+($C$10*E18)+C18)/D18,"",(($C$9*(E18+F18))+($C$10*E18)+C18)/D18)

Hi - welcome to the board!

Not really sure what your question is, but if the above formula is working, you can shorten it to :

=IF(D18,(($C$9*(E18+F18))+($C$10*E18)+C18)/D18,"")

care to explain what you're after in a little more details?

Paddy

EDIT: typos
This message was edited by PaddyD on 2002-09-23 19:08
 
Upvote 0
Thanks, The formula is based on calculated a unit cost for D18 cell, if D18 is blank (no data), the formula cell gives the #DIV/0!, I do not want this to be display.
 
Upvote 0
It works, and is less complicated. Thanks again, I have a lot to learn about making shorter formula for sure.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

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