title: Excel compare two columns and highlight duplicates
body: <p>I have an excel file with 10,000 rows in column A some values are the same.</p>
  
  <p>Example:</p>
  
  <pre><code>A1 - P7767
  
  A2 - P3443
  
  A3 - P7767
  
  A4 - P8746
  
  A5 - P9435
  </code></pre>
  
  <p>etc...</p>
  
  <p>I then have another column with 100 rows which have some of the values found in column A,</p>
  
  <pre><code>B1 - P7767
  
  B2 - P8746
  </code></pre>
  
  <p>etc...</p>
  
  <p>I need to highlight all cells in column A where the value is found in any of the values in column B</p>
  
  <p>So basically column B checks to see if it can find the same value anywhere in column A, if true highlight the cell leaving any cells white when the value is not found in column B</p>
  
  <p>I hope I have explained this well, I have done some research and I believe I need to use conditional formatting to get this result but I am really stuck on the formula to use and cannot seem to find an example online (Maybe I am not searching the correct term as I'm not sure on what this is exactly called)</p>