Hi everyone,
I have written the following formula
=IF(K11<=0,"Passed Live Date",IF(AND(K11<=7,K11>=1),"Within One
Week",IF(AND(K11<=14,K11>=8),"Within Two Weeks",IF(K11>=15,"Over Two
Weeks"))))
I currently have 'if K11 is less than 0 return "Passed Live Date"
What I do require is
if K11 is 0 to -30(minus 30) return "Passed Live Date"
and
if K11 is -31 to -999 return " "
I have tried to write the above but I can't get it to work, I guess
this is something to do with the number being minus
Hope I have provided enough info
Bob Phillips - 28 Feb 2007 11:47 GMT
=IF(K11<-30,"",IF(K11<0,"Passed Live Date",IF(AND(K11<=7,K11>=1),"Within One
Week",
IF(AND(K11<=14,K11>=8),"Within Two Weeks",IF(K11>=15,"Over Two
Weeks","")))))

Signature
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
> Hi everyone,
>
[quoted text clipped - 16 lines]
>
> Hope I have provided enough info
Angela1979 - 28 Feb 2007 12:12 GMT
> =IF(K11<-30,"",IF(K11<0,"Passed Live Date",IF(AND(K11<=7,K11>=1),"Within One
> Week",
[quoted text clipped - 31 lines]
>
> - Show quoted text -
Thanks very much Bob
Works just as I need it to.
:-)
Angela1979 - 28 Feb 2007 12:21 GMT
> Hi everyone,
>
[quoted text clipped - 16 lines]
>
> Hope I have provided enough info
////////////////////////////////////////////////////////////////
Hi Bob,
Sorry one more thing, I am now getting "Value" if the cell (cell that
contains the number) is blank.
I need =if(k11="","")
Many Thanks
Bob Phillips - 28 Feb 2007 14:09 GMT
Angela,
You shouldn't, I don't. I put a catchall at the end that will return "" for
any condition other than those specifically tested for.

Signature
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>> Hi everyone,
>>
[quoted text clipped - 26 lines]
>
> Many Thanks
Duke Carey - 28 Feb 2007 14:48 GMT
=IF(or(K11<-30,k11=""),"",IF(K11<0,"Passed Live
Date",IF(AND(K11<=7,K11>=1),"Within One Week",
IF(AND(K11<=14,K11>=8),"Within Two Weeks",IF(K11>=15,"Over Two
Weeks","")))))
> Hi Bob,
>
[quoted text clipped - 3 lines]
>
> Many Thanks