View Single Post
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Try this:
=IF(B7=50000000,$B24*$D24+$B25*$D25+((B7-$D26)*$B26),IF(OR(countif(b7,"$D24"),countif(b7," <$D26")),$B24*40000000+((B7-40000000)*$B25),IF(B7<40000000,$B24*B7,0)))
************
Anne Troy
www.OfficeArticles.com

"Adam" wrote in message
...
=IF(B7=50000000,$B24*$D24+$B25*$D25+((B7-$D26)*$B26),IF(COUNTIF(B7,"b7$D24,b7<$D26"),$B24* 40000000+((B7-40000000)*$B25),IF(B7<40000000,$B24*B7,0)))

The issue I'm having with this formula is the greater than x but less than
y
if statement. For some reason it won't recognize it. I tried the countif
formula, but no luck. Anyone know how to fix this?