• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Compare 2 columns, find a word from 2nd column corresponding to the different values in 1st column and write value in third column

ashishdabas

New Member
Hi,

I have 2 columns as below:

Column AColumn B
ShoppingETA
ShoppingETA
ShoppingRSA
SearchETA
SearchRSA
SearchRSA
DisplayETA
DisplayETA

I want to find the count of RSA in Shopping, Search and Display in Column A and return the value in third column. E.g Shopping has 1 RSA, Search has 2 RSA and Display has 0 RSA.

Output should be like this:

Column AColumn BColumn C
ShoppingETA1
ShoppingETA1
ShoppingRSA1
SearchETA2
SearchRSA2
SearchRSA2
DisplayETA0
DisplayETA0

Please let me know if anything is not clear.

Thanks
 
Top