IF between Value Function

Houscoogs

New Member
Joined
Aug 19, 2005
Messages
15
I want to insert a (If(value >20%,"Great",Value between 0% and 20%,"Good", value between -20% and 0,"Bad") Can someone help with the syntax?

Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If the percentages are in cell A1, you could use this. This will show nothing if the cell is blank as well. (Something I frequently add)

=IF(A1="","",IF(A1<0%,"Bad",IF(AND(A1>=0,A1<=20%),"Good","Great")))
 
Upvote 0
Hello,

<TABLE style="WIDTH: 554pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=738><COLGROUP><COL style="WIDTH: 554pt; mso-width-source: userset; mso-width-alt: 13494" width=738><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: #c2d69a; WIDTH: 554pt; HEIGHT: 15pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20 width=738>=IF(B1>0.2,"Great",IF(AND(B1>=0,B1<=0.2),"Good",IF(AND(B1>=-0.2,B1<0),"bad","---")))</TD></TR></TBODY></TABLE>
 
Upvote 0
I want to insert a (If(value >20%,"Great",Value between 0% and 20%,"Good", value between -20% and 0,"Bad") Can someone help with the syntax?

Thanks!

Try...
Code:
=IF(ISNUMBER(A2),
    IF(A2 > 20%, "Great",
      IF(AND(A2 > 0, <= 20%), "Good",
        IF(AND(A2 >= -20, <= 0), "Bad", "")))
    "")
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,448
Members
452,915
Latest member
hannnahheileen

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