why is excel giving me wrong replies for negative values?

brockk

Board Regular
Joined
Jul 1, 2006
Messages
170
Office Version
  1. 2013
Platform
  1. Web
Greetings to All,

I am trying to calculate a percentile value on some KPI's for my co-workers. Based on these criterias, it should either provide me the following replies:

A- if value is greater than 0.00% then the reply should be "Great Job!"
B- if the value is equal to or between the values of 0.00% and -0.05% (negative 0.05%) then the reply should be "Almost there"
C- Any value less than -0.05%, should indicate "Needs Improvement"

I am using the following formula: =IF(E25>0,"Great Job!",IF(AND(E25<=0,E25>="-0.05"),"You're almost there","Need Improvement"))

It seems to work in most cases but, those cases that are among the (B) criteria, (<=0 and is >="-0/05") is not calculating correctly as these also appear as "Needs Improvement". Any help to this matter is greatly appreciated.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Remove the quotes around "-0.05" as that makes it text.
 
Upvote 0
Thanks for the reply RoryA.

I did just that and it still is not giving me the appropriate response as you can see in the image shown.

weekly performance review form SQ1-AUGUST-2021.xlsx
CDE
16Exp EEEE ConvDiffer in EE
171.00%1.44%0.44%
181.00%0.33%-0.67%
191.00%0.88%-0.12%
201.00%0.66%-0.34%
21
22Exp TFBTFB ConvDiffer TFB
230.16%0.00%-0.16%
240.16%0.00%-0.16%
250.16%0.11%-0.05%
260.16%0.11%-0.05%
27
28
29Great Job!
30You're almost there
31You're almost there
32You're almost there
33
34You're almost there
35You're almost there
36You're almost there
37You're almost there
PTRKR1
Cell Formulas
RangeFormula
D17:D20D17=INDEX(DATA1,MATCH($A17,Names,0),MATCH(D$16,$B$1:$AO$1,0))
E23:E26,E17:E20E17=D17-C17
D23:D26D23=INDEX(DATA1,MATCH($A23,Names,0),MATCH(D$22,$B$1:$AO$1,0))
C29:C32C29=IF(E17>0,"Great Job!",IF(AND(E17<=0,E17>=-0.05),"You're almost there","Need Improvement"))
C34:C37C34=IF(E23>0,"Great Job!",IF(AND(E23<=0,E23>=-0.05),"You're almost there","Need Improvement"))
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
DATA1=PTRKR1!$B$2:$AO$12D17:D20, D23:D26
Names=PTRKR1!$A$2:$A$12D23:D26, D17:D20
SHIFT1=PTRKR1!$A$17:$B$20D17
 
Upvote 0
-0.05 is not the same as -0.05% (it's 100 times larger). You need -0.0005 or use -0.05%
 
Upvote 0
Solution
Thank you soooooooooooo much RoryA. That did it! Such a small detail like that made such a big difference... lol!
 
Upvote 0

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,049
Latest member
THMarana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top