win or lose formula needed

P

Pete

I need to come up with a formula that will result in Good or Busted
The racers speed must be within 1.25% (+ or -) of the speed entered into
the equation and produce "Good"

If the Speed exceeds or falls below 1.25% of the speed entered -The answer
will be "Busted"

Example- entered 105.25 mph must be between 103.93 and 106.57 to be
"Good" If the calculation is out side of those parimeters = Busted
 
T

T. Valko

One way...

A2 = 105.25

=IF(AND(A2>=ROUND(A2*0.9875,2),A2<=ROUND(A2*1.0125,2)),"Good","Busted")
 
J

JBeaucaire

A1 = Speed to match
B1 = racer's speed

C1 = Result formula:

=IF(AND(B1>=ROUND(A1-A1*1.25%,2), B1<=ROUND(A1+A1*1.25%,2)), "Good", "Busted")

Does that do it for you?
 
J

JBeaucaire

Another fun one:

=IF(ROUND(MAX(A1:B1)-MIN(A1:B1),2) <= ROUND(A1*1.25%,2), "Good", "Busted")
 
T

T. Valko

Ooops!

I left out a comparison cell....

A2 = racer speed = 105.25
B2 = target speed

=IF(AND(A2>=ROUND(B2*0.9875,2),A2<=ROUND(B2*1.0125,2)),"Good","Busted")
 
T

T. Valko

Another fun one:

Just for the heck of it...

A2 = racer speed
B2 = target speed

=IF(A2=MEDIAN(A2,ROUND(B2*1.0125,2),ROUND(B2*0.9875,2)),"Good","Busted")
 
P

Pete

That one worked out GREAT! now could A4 tell us if the speed was busted
because was ("over" or "under")

and for a real topper, "could A5 tell us by how much"

That will put a fork in my needs tonight
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top