Thread: formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default formula

Hi,
in H2 enter

=IF(AND(E2="Y",G2<=14),"Y",IF(AND(E2="N",G2<=30)," Y",IF(AND(E2="Y",G2=15),"N",IF(AND(E2="N",G2=31) ,"N"))))

if this helps please click yes, thanks

"Help with cell function" wrote:

=IF(AND(E14="y",G14<15),"y","Criteria not met")

The above formula worked...thanks Luke M. In addition to the above I also
have something else that needs to go in to cell h14

E G H
2 y 14 y

What is the formula if E2 = y and G2= 14 or less, I want H2 to = y (luke M)
What is the formula if E2 = n and G2= 30 or less, I want H2 to = y
What is the formula if E2 = y and G2= 15 or more, I want H2 to = n
What is the formula if E2 = n and G2= 31 or more, I want H2 to = n