How to count multiple matches

Paul Naylor

Board Regular
Joined
Sep 2, 2016
Messages
98
Office Version
  1. 365
  2. 2003 or older
Platform
  1. Windows
  2. Mobile
  3. Web
Hi , Hoping someone can help.

I have a raw data file of advisor quality scores . For each period ( P1 - P13) each colleague has 3 manager calls & 2 QA ( for Qa Bonus)calls , but I'm having to classify calls e.g. P1 Call 1, P1 Call 2, P1 Call 3 , P1 Bonus Call 1, P1 Bonus Call 2 which I then combine with the relevant advisor name so than I perform multiple vlooks up , but I'm wanting to automate the process , but struggling to find a formula which do the count functions

Columns A is Period Data P1 - P13
Column B is the Advisor Names
Column C is the Evaluator Type i.e. Mngr or QA
Column D is the formula to combine columns A,B & C ( =IF(C2="QA",B2&" Bonus "&A2&" Call",B2&" "&A2&" Call") e.g. Albert Hall P3 Call ( x 3 occurrences) or Albert Hall Bonus P3 Call X 2 occurrences . Looking for a formula which will count each occurrence either as a combined formula e.g. Albert Hall P3 Call1, Albert Hall P3 Call2, Albert Hall P3 Call3, Albert Hall P3 Bonus Call1, Albert Hall P3 Bonus Call2 ...... or a column that will count 1 for 1st occurance , 2 for 2nd occurance and 3 for 3rd occurances in column D which I can then combine with Column D
 

Attachments

  • Raw Data File.jpg
    Raw Data File.jpg
    171.9 KB · Views: 5

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi All,

No need to reply worked it out ( sometimes obvious are not so obvious

Column E =COUNTIF($D$2:D2,D2) then combine Column D & E
 
Upvote 0

Forum statistics

Threads
1,215,012
Messages
6,122,682
Members
449,091
Latest member
peppernaut

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