View Single Post
  #8   Report Post  
Henry
 
Posts: n/a
Default

Trish,

This is different from what you originally asked.

100 means 101 upwards.

Now you're saying 99 (or =100) =100 upwards.

If this is the case then =INT(G9/100) will do you.

To limit it to a Max of 10 pulls, then

=IF(G9999,10,INT(G9/100))


Henry

"Trisha V via OfficeKB.com" wrote in message
...

Biff, thanks for your helping me out....what Im working on is a contest
where
depending on how much someone sells they get certain pulls out of a hat
with
money on them....If they sell from $100 to $199, they get 1 pull,
$200-$299
they get 2 pulls, etc etc etc ... and they can only get up to 10
pulls...Hope
this helps....

Biff wrote:
Hi!

=IF(G9100,1,IF(G9200,2,IF(G9300,3,)))


If all you needed to check were the 3 conditions in your sample then you
simply need to reverse the logic:

=IF(G9300,3,IF(G9200,2,IF(G9100,1,"not defined")))

Since you have 10 conditions you want to test for, using IF won't work.

What do you want to happen if G9 < 100?

What do you want to happen if G9 = 100, 200, 300 etc.?

Biff

Im working on a formula that looks somewhat like this:

[quoted text clipped - 7 lines]

WHAT AM I DOING WRONG? CAN SOMEONE PLEASE HELP ME?