Nested IF Then statements

kcompton

Board Regular
Joined
Mar 16, 2009
Messages
209
Hi-
I have a spreadsheet (below) where I am trying to say Yes or No to whether or not a student met their goals.
If a student's At Above/Below Grade Level (column B) is "At Above" and their Spring End RIT column C is equal to or greater than One Year Growth (column D) then the Met Growth Goals (Column F) would = Yes, but if their At Above/Below Grade Level (column B) is "Below" and the Spring End RIT (column C) is Greater than or equal to the Fall RIT SEM (column A) PLUS 1.5 Year Growth ( Column E) then Met Growth Goal (column F) ="No"

I've tried a few options and can't make it work, and it occurs to me maybe it can't be done? Of if it can, can you help"

<style type="text/css">
table.tableizer-table {
font-size: 9px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>







Fall Rit + SEMAt Above /Below Grade LevelSpring End Rit _ SEM1 year Growth 1.5 Year Growth Met Growth Goals?
118.3Below151.3159.128.7=IF (B2="At Above" and C2 >= D2, then F2="Yes"), If (B2="Below" and C2 >= A2+E2 then F2="No"))
119.2Below138.2159.128.7
141.1At Above170.3159.128.7
138.2Below147.1159.128.7
150.2At Above169.4159.128.7

<thead>
</thead><tbody>
</tbody>


Thank you
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Re: Help needed with nested IF Then statements

Try:
=IF(AND(B4="At Above",C4>=D4),"Yes",IF(AND(B4="Below",C4>=A4+E4),"no",""))
 
Upvote 0
Re: Help needed with nested IF Then statements

Thank you!
in the formula, i also need , for example, if B4 = "At Above", and C4<D4 it returns a "NO", and if B4="Below", and C4< A4+E4 it returns a "Yes".
I'm trying for a Yes or No in each cell in the "met Growth Goals" column.
Once again, thank you for your help.
 
Upvote 0
Re: Help needed with nested IF Then statements

So is the formula working as you want? What do you mean by "if B4 = "At Above", and C4 I'm trying for a Yes or No"?
 
Upvote 0
Re: Help needed with nested IF Then statements

So is the formula working as you want? What do you mean by "if B4 = "At Above", and C4 I'm trying for a Yes or No"?
 
Upvote 0
Re: Help needed with nested IF Then statements

Sorry if my last reply was odd - I accidently hit "reply with a quote"
Your question:So is the formula working as you want? What do you mean by "if B4 = "At Above", and C4 I'm trying for a Yes or No"?
Answer - Yes, the formula works - and yes, I'm trying for a Yes or a No for each..

Thanks again
 
Upvote 0
Re: Help needed with nested IF Then statements

Would this work? Does it make sense?
<d4),"no",if(and(b4="below",c4>
=IF(AND(B2="At Above",C2>=D2),"Yes",IF(AND(B2="At Above",C2<D2),"No",IF(AND(B2="Below",C2>=A2+E2),"No",IF(AND(B2="Below",C2<A2+E2),"No"))))

</d4),"no",if(and(b4="below",c4>
 
Last edited:
Upvote 0
Re: Help needed with nested IF Then statements

My last reply did not copy the full formula in it:
Here's what I tried...
=IF(AND(B2="At Above",C2>=D2),"Yes",IF(AND(B2="At Above",C2< d2),"no",IF(AND(B2="Below",C2>=A2+E2),"No",IF(AND(B2="Below",C2< a2+e2),"no"))))
 
Last edited by a moderator:
Upvote 0
Re: Help needed with nested IF Then statements

When using > or < symbols you need to put a space before/after otherwise they are seen as HTML code.
 
Upvote 0
Re: Help needed with nested IF Then statements

It looks like if B2="Below" you want "No" to be returned. If that's the case, then try: =IF(AND(B2="At Above",C2>=D2),"Yes","No")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,738
Members
449,094
Latest member
dsharae57

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