Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ahhhh Absolution!!! Bernie - thank you so much!
"Bernie Deitrick" wrote: 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! . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
How can I use the "TODAY ()" Function in an "IF/THEN" calculation | Excel Worksheet Functions | |||
Can I apply a "score" based on multiple cell values? | Excel Worksheet Functions |