View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick Bernie Deitrick is offline
external usenet poster
 
Posts: 5,441
Default Mathematically accurate % calculation for "over-score" scenari

This will give you what you want

=1+(G25-H25)/G25

HTH,
Bernie
MS Excel MVP


"WildWill" wrote in message
...
Hi Daryl S

Not quite: following my example, once I reach a situation of G25=60 and
H25=120, I should hypothetically get an answer of 0%, since it has taken the
member twice as long to achieve the result as defined by the terget (60) -
but it actually returns 100%.

"Daryl S" wrote:

WileWill -

=IF(G25H25,1+(G25-H25)/G25,IF(G25=H25,1,H25/G25-1))

--
Daryl S


"WildWill" wrote:

Thanks RonaldoOneNil

I do however also need it to work correctly for any other single increments
in the numbers, i.e. if I have G25=60 and H25=54, I expect an answer of 110%
performance, and I get 190% with the formula above.

"RonaldoOneNil" wrote:

=IF(G25H25,H25/G25+1,IF(G25=H25,H25/G25,H25/G25-1))

"WildWill" wrote:

I have G25=60 and H25=30, where a person was given 60 days to perform a task
and he ended up performing the task in 30 days. Thus he has "over-performed"
and scores 150% for that task.

If he completed the task in 60 days, I would have G25=60 and H25=60 and I
would expect a calculated % of 100% performance.

If he completed the task in 90 days, I would have G25=60 and H25=90 and I
would expect a calculated % of 50% performance.

I have tried using (G25/H25)-(H25/G25), whihc works fine for the top example
and gives me 150%, but for all the other combinations it gives me wrong
andswers, i.e. with G25=60 and H25=60 I get 0% and I should get 100%, and
with G25=60 and H25=90 I get -83% and I shoud get 50%.

Please help!