Harlan Grove said:
This is inconsistent with the converse of your assessment since A1
would need to be strictly greater than 0.1 for the formula to return
97%.
Yes, as someone around here would say I goofed <g> it should have been:
=IF(A1>0.1499,"Too Big",IF(A1>=0.1,97%,IF(A1>0,98%,100%)))
Even then there is a problem - ironically enough the same problem that I was
pointing out to Toppers - with A1>0.1499
On the other hand it depends on what the OP meant by:
If Cell X is less than 0, then 100%
If Cell X is greater than 0, but less than .0999, then 98%
If Teri intended:
If Cell X is equal to or less than 0 then your IF() formual can be amended
to:
=IF(A1<=0,100%,IF(A1<0.1,98%,IF(A1<0.15,97%,"out of range")))
but the only way that I could get your LOOKUP() to achieve that would be:
=LOOKUP(A1,{-1E+300;0;1E-300;0.1;0.15},{1;1;0.98;0.97;"out of range"})
Unless you know of any other construction?
--
Regards,
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk