title: Subset duplicate values with two different status values
body: <p>I have Id Values some are duplicates, there is another column Status (yes/No) , I want to extract the subset of duplicate values which have two different status values. For example , if my dataset is as below</p>
  
  <pre><code>   Id        Status
     23984     Yes
     94949     No
     89685     No
     33232     Yes
     33232     Yes
     57943     No
     75633     Yes
     75633     No
  </code></pre>
  
  <p>In this case, Id  75633 is duplicate and has two different status (Yes &amp; No) so my final dataset should contain only such ids and not 33232. </p>
  
  <pre><code>   Id        Status
     75633     Yes
     75633     No
  </code></pre>
  
  <p>I know how to do a subset but no clue how to include this criteria need some help.</p>