I get #DIV/0!

J

Jack

I am trying to get numbers in column I to reflect 0 if H$14 adds up to 0.

The cell H$14 is actually =SUM(H7:H13)

So, in cell I7 I enter =IF(H$14="0","0",H7/H$14)

However, I get #DIV/0! in I7 even though H$14 sums to 0. I thought that's
the case is because H$14 is not actually 0 but a formula, but that's still
the case even if I replace the formula with a 0.

Help!

Thanks.

Jack
 
G

Guest

Hi Jack
Take the inverted comma's out the formula

=IF(H$14=0,0,H7/H$14)

HTH
Michael
 
J

Jack

Michael --

That did it!

I guess you use the quotes only if referring to text.

Thanks!

Jack




Hi Jack
Take the inverted comma's out the formula

=IF(H$14=0,0,H7/H$14)

HTH
Michael
 

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

Similar Threads

If condition to find Target 2
#DIV/0 error 2
Div / 0 5
Div 0 help 1
SUM ... Numbers, Nulls "", & Div/0 5
3 Array Formula 5
Need help with formula 10
#DIV/0! in variance/percentage formula 3

Top