#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default formula

=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


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"