View Single Post
  #7   Report Post  
Ken Wright
 
Posts: n/a
Default

Because A2 can NEVER be greater than 1.31 AND less than 0.95. I think you are
looking for OR:-

In cell C2

=IF(OR(A21.31,A2<.95),"",ROUND(B2,2))

However, this only sorts out cell C2, I don't know what you have/want in B2, so
I'll guess at something like:-

In cell B2

=IF(OR(A21.31,A2<.95),"",Your_Current_Formula_In_ B2)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"inthestands" wrote in message
...
I am trying to use the following formula
=IF(AND(A21.31,A2<.95)"","",ROUND(B2,2))

The response I am trying to get is if A2 Is greater than 1.31 and less than
.95 then give me no answer in B2, but if A2 falls within this parameter, then
round B2 to two decimals into C2. What am I doing wrong?

thanks in advance,
--
inthestands



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004