Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ted
 
Posts: n/a
Default what means 'blank cell'??

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default what means 'blank cell'??

How about

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Ted" wrote in message
...
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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default what means 'blank cell'??

On Sun, 20 Nov 2005 17:14:01 -0800, Ted wrote:

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
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default what means 'blank cell'??

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Peo Sjoblom" wrote in message
...
How about

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Ted" wrote in message
...
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.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ted
 
Posts: n/a
Default what means 'blank cell'??

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

thanks anyway,

Ted.

"Peo Sjoblom" wrote:

How about

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Ted" wrote in message
...
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.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ted
 
Posts: n/a
Default what means 'blank cell'??

hi, thanks for that - yep that works great $;-D

thanks, Ted.


"Peo Sjoblom" wrote:

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Peo Sjoblom" wrote in message
...
How about

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

--
Regards,

Peo Sjoblom

(No private emails please)


"Ted" wrote in message
...
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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
return a blank cell jpotts8117 Excel Worksheet Functions 5 September 23rd 05 08:33 PM
Copying a Blank Cell FLKULCHAR Excel Worksheet Functions 5 September 19th 05 12:13 PM
Setting Purely BLANK Cell yokato95 Excel Worksheet Functions 4 August 18th 05 04:43 PM
Replace null string with blank cell gjcase Excel Discussion (Misc queries) 2 August 9th 05 02:13 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"