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
Joined
Dec 21, 2018
Messages
2
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
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi ashishdabas,

Does this do what you want?

AshishDabas.xlsx
ABC
1Column AColumn BColumn C
2ShoppingETA1
3ShoppingETA1
4ShoppingRSA1
5SearchETA2
6SearchRSA2
7SearchRSA2
8DisplayETA0
9DisplayETA0
Sheet1
Cell Formulas
RangeFormula
C2:C9C2=COUNTIFS($A$2:$A$9,A2,$B$2:$B$9,"RSA")
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,726
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top