Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

win or lose formula needed

1 view
Skip to first unread message

Pete

unread,
Nov 11, 2009, 9:32:02 PM11/11/09
to
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
--
Tuna Pete

T. Valko

unread,
Nov 11, 2009, 9:48:23 PM11/11/09
to
One way...

A2 = 105.25

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

--
Biff
Microsoft Excel MVP


"Pete" <pe...@discussions.microsoft.com> wrote in message
news:ADBE97A0-D63A-41E5...@microsoft.com...

JBeaucaire

unread,
Nov 11, 2009, 10:07:01 PM11/11/09
to
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?
--
"Actually, I *am* a rocket scientist." -- JB
(www.MadRocketScientist.com)

Your feedback is appreciated, click YES if this post helped you.

JBeaucaire

unread,
Nov 11, 2009, 10:14:02 PM11/11/09
to
Another fun one:

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

--
"Actually, I *am* a rocket scientist." -- JB
(www.MadRocketScientist.com)

Your feedback is appreciated, click YES if this post helped you.

Pete

unread,
Nov 11, 2009, 10:23:01 PM11/11/09
to
I will give it a moon shot, you made that look easy! Thank You!

--
Tuna Pete

T. Valko

unread,
Nov 11, 2009, 10:26:52 PM11/11/09
to
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")

--
Biff
Microsoft Excel MVP


"T. Valko" <biffi...@comcast.net> wrote in message
news:%23y4CbK0...@TK2MSFTNGP02.phx.gbl...

T. Valko

unread,
Nov 11, 2009, 10:36:37 PM11/11/09
to
>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")


--
Biff
Microsoft Excel MVP


"JBeaucaire" <jb...@madrocketscientist.com.NOSPAM> wrote in message
news:0C30C2A5-B728-48BD...@microsoft.com...

Pete

unread,
Nov 11, 2009, 11:13:01 PM11/11/09
to
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
--
Thank You! Tuna Pete

Pete

unread,
Nov 11, 2009, 11:16:04 PM11/11/09
to
That was much better. I was searching everywhere for the data cell LOL
--
Thank You . .. All you guys have been a life savers tonight - Tuna Pete


"T. Valko" wrote:

> .
>

JBeaucaire

unread,
Nov 11, 2009, 11:31:01 PM11/11/09
to
OVER/UNDER:

=IF(A1<B1,"Over","Under")

DIFFERENCE:

=B1-A1

Pete

unread,
Nov 11, 2009, 11:43:01 PM11/11/09
to
Your The Man ! . . . .. check your e-mail, Thanks, Pete
--
Tuna Pete
0 new messages