#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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,219,006
Messages
6,145,708
Members
450,635
Latest member
Rookie3510

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