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

Help with cell function wrote:
E G H
2 y 14 y

What is the formula if E2 = y and G2= 14 or less, I want H2 to = y
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



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