title: Sum only matched values from two columns
body: <p><img src="https://i.stack.imgur.com/KX1b7.png" alt="enter image description here"></p>
  
  <p>Hello Everyone,</p>
  
  <p>Does anyone know how to sum the Hours from column B (Hours) if column A numbers matched with column E and sum by months.</p>
  
  <p>Example, take February data as an example, since only 3000 &amp; 4000 existed in both column A &amp; column E, that's why I need to sum the hours (20+10=30) from column B by it's month below.</p>
  
  <p>I also attached the example excel sheet below.
  <a href="https://www.dropbox.com/s/0s51g1i8g6s6e2d/Test.xls?m" rel="nofollow noreferrer">https://www.dropbox.com/s/0s51g1i8g6s6e2d/Test.xls?m</a></p>
  
  <p>Thanks in advance. :-)</p>