#DIV/0! error

M

Memo Larach

I'm using the following formula =100%-(H6/J4) to get a percentage,
however result is #DIV/0! error

Can anybody help with this error?


Thanks for your help
 
P

peabrain25

If J4 is zero or blank, you'll get this error. Check to make sure there is a
value in that cell.
 
P

peabrain25

Sorry, I forgot to add that if you still get the error even if there is
something in J4, hit the "F9" button to recalculate the spreadsheet. It could
be that your workbook isn't set up to automatically calculate when changes
are made. You can change this by going to Options, Calculation tab.
 
G

Gord Dibben

=IF(J4=0,"",100%-(H6/J4))


Gord Dibben MS Excel MVP

On Sun, 6 Dec 2009 06:57:01 -0800, Memo Larach <Memo
 
×

מיכ×ל (מיקי) ×בידן

Assuming you always format the result cell as percentage - you may try this:
=IF(ISERR(1-H6/J4),"",1-(H6/J4))
In order to avoid the error.
Micky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top