View Filter based on condition
by the sounds of it, you're looking for Views Conditional module:


  Views Conditional is a simple module that allows you to define
  conditionals (if xxx then yyy) with fields in views. Conditions
  include:

 Equal To
 Not Equal To
 Greater Than
 Less Than
 Empty
 Not Empty

  
  Views conditional allows you to output text based on the result of the condition.