Zeros in text resulting in #div/0! even when using IF function

L

lkulchak

Ok, I'm nuts. I retrieve data constantly into an existing workbook.
Where the data is zero, when imported, it comes in as text, thus
causing #div/0! errors. Of course, I've included an IF function that
should return N/A or heck - I'd take a 'zero' at this point. Nadda.
Below is the formula I'm using and I'd appreciate an adjustment to get
this one right! =IF(D91=0,0,D71/D91). Function won't accept =IF(D91="
",0,D71/D91). Suggestion? Thx.
 
S

ScottO

This might do it ...
=IF(AND(ISNUMBER(D91),D91<>0),D71/D91,"More zero data!")
Rgds,
ScottO

| Ok, I'm nuts. I retrieve data constantly into an existing
workbook.
| Where the data is zero, when imported, it comes in as text, thus
| causing #div/0! errors. Of course, I've included an IF function
that
| should return N/A or heck - I'd take a 'zero' at this point.
Nadda.
| Below is the formula I'm using and I'd appreciate an adjustment to
get
| this one right! =IF(D91=0,0,D71/D91). Function won't accept
=IF(D91="
| ",0,D71/D91). Suggestion? Thx.
|
 
L

lkulchak

Hi ScottO,

One thing that this formula won't do is to return the appropriate value
when there is real data vs text. Could I ask for a further suggestion?
Thx. again.

lk
 
L

lkulchak

Hi Max, I've tried the formula above and where I do have data, the
result returned = 0 vs the correct number. Do you have an alternate
suggestion? Thx.
 
L

lkulchak

Hi Annie, I've tried the formulas above and where I have actual data
vs. text, the results returned are 0 vs the appropriate answer. Do you
have an alternate suggestion? Thx.
 
L

lkulchak

Hi, I've tried the formula above. However, when I have actual data vs
text, the value returned is 0 vs the correct value. Do you have an
alternate suggestion? Thx.
 
M

Max

Hi Max, I've tried the formula above and where I do have data, the
result returned = 0 vs the correct number. Do you have an alternate
suggestion? Thx.

Pl paste the actual data in D91 which returned the incorrect zero result
(instead of the correct D71/D91).

---
 

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