what means 'blank cell'??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to calculate the difference between two dates and have that
diveded by seven, (e.g. 7/XX-XX) and remove any answers that sum less than 0.5

So far I have the below formula, but it returns an "ERROR" where there is
blank cells. I think that is because of the zero in the ...C3-D3<>0),..
section

=IF(AND(ISNUMBER(C3),ISNUMBER(D3),C3-D3<>0),IF(ROUND(7/(C3-D3),5)>0.5,ROUND(7/(C3-D3),5),""))

has anyone any ideas please??

Ted.
 
How about

=IF(AND(C3-D3>0,COUNT(C3:D3)=2),IF(ROUND((C3-D3)/7,5)>0.5,ROUND((C3-D3)/7,5),""),"")

--
Regards,

Peo Sjoblom

(No private emails please)
 
I am trying to calculate the difference between two dates and have that
diveded by seven, (e.g. 7/XX-XX) and remove any answers that sum less than 0.5

So far I have the below formula, but it returns an "ERROR" where there is
blank cells. I think that is because of the zero in the ...C3-D3<>0),..
section

=IF(AND(ISNUMBER(C3),ISNUMBER(D3),C3-D3<>0),IF(ROUND(7/(C3-D3),5)>0.5,ROUND(7/(C3-D3),5),""))

has anyone any ideas please??

Ted.

See my response (2nd suggestion) in your other thread. It does not return an
error if both cells are blank.

It is much easier to obtain coherent help if you keep all your related
questions in the same thread.




--ron
 
..
Oops! reverse the division, I just assumed it was a typo

--
Regards,

Peo Sjoblom

(No private emails please)
 
noup, sorry - it gives a blank cell even when the condition it ok (e.g. above
0.5)

thanks anyway,

Ted.
 

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


Back
Top