#div/0

ajm

Well-known Member
Joined
Feb 5, 2003
Messages
2,005
Office Version
  1. 365
Platform
  1. Windows
hi again. simply can't get my tired brain aroud this one.

I want to hide my #div/0's. such that if the result of the formula in a particular cell is going to return an error, give me "" instead or even "-".

I've done this before with something of a If(n(.... but I can't recall what it was.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
hi again. simply can't get my tired brain aroud this one.

I want to hide my #div/0's. such that if the result of the formula in a particular cell is going to return an error, give me "" instead or even "-".

I've done this before with something of a If(n(.... but I can't recall what it was.

Depends on the formula you want to setup... Generically:

=IF(N(Y2),X2/Y2,"")

If Y2 might house an error value...

=IF(ISNUMBER(Y2),IF(N(Y2),X2/Y2,""),"")
 
Upvote 0
thanks guys. formulas work perfectly. perhaps i should have tried originally to put them into the right place with the right references. long story and its now time to go home.

lets hope my little fella sleeps tonight so you guys won't get me asking silly questions again tomorrow.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,582
Members
449,039
Latest member
Arbind kumar

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