View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Pecoflyer[_163_] Pecoflyer[_163_] is offline
external usenet poster
 
Posts: 1
Default Formula Won't Work


George;228856 Wrote:
Hello, can someone please help me with the following formula;
=IF(F5<=2999.99,"25%",IF(F5=3000,"50%",IF(F5=500 0,"75%",IF(F5=7000,"100%"))))
For some reason it calculates the 25% and 50% correctly, but it won't
calculate the 75% or 100% at all, it just stays at 50%


That is because you cover everything with the first two conditions

F5<=2999.99 and F53000
There is nothing else to test, any number is smaller than or larger
than 3000


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=63852