#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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
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
 

syeong

New Member
Joined
Sep 22, 2002
Messages
3
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.
 

syeong

New Member
Joined
Sep 22, 2002
Messages
3
It works, and is less complicated. Thanks again, I have a lot to learn about making shorter formula for sure.
 

Forum statistics

Threads
1,144,510
Messages
5,724,781
Members
422,578
Latest member
annsalinas

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
Top