G'day!
I currently have : =SUM(IF(FREQUENCY(A8:A1000,A8:A1000)>0,1))
It batches column A with re-occurring values and gives the number of batches this works great!
However, I now want to look at column H:H and see how many batches from A:A have the value "MG" in column B.
See example below...