Hi All,
I am having a problem with the below formula I have entered in Sheet 2 of my workbook.
Where "D6 = Agent Name" "D8 = Criteria 1" "D9 = Criteria 2" "D10 = Criteria 3" "D11 = Criteria 4"
=SUM(IF(FREQUENCY(IF('Sheet 1'!$C:$C<>"""",IF('Sheet 1'!$G:$G=D8,IF('Sheet 1'!$H:$H=D6,MATCH(""~""&'Sheet 1'!$C:$C,'Sheet 1'!$C:$C&"""",0)))),ROW('Sheet 1'!$C:$C)-ROW('Sheet 1'!$C$2)+1),1))+SUM(IF(FREQUENCY(IF('Sheet 1'!$C:$C<>"""",IF('Sheet 1'!$G:$G=D9,IF('Sheet 1'!$H:$H=D6,MATCH(""~""&'Sheet 1'!$C:$C,'Sheet 1'!$C:$C&"""",0)))),ROW('Sheet 1'!$C:$C)-ROW('Sheet 1'!$C$2)+1),1))+SUM(IF(FREQUENCY(IF('Sheet 1'!$C:$C<>"""",IF('Sheet 1'!$G:$G=D10,IF('Sheet 1'!$H:$H=D6,MATCH(""~""&'Sheet 1'!$C:$C,'Sheet 1'!$C:$C&"""",0)))),ROW('Sheet 1'!$C:$C)-ROW('Sheet 1'!$C$2)+1),1))+SUM(IF(FREQUENCY(IF('Sheet 1'!$C:$C<>"""",IF('Sheet 1'!$G:$G=D11,IF('Sheet 1'!$H:$H=D6,MATCH(""~""&'Sheet 1'!$C:$C,'Sheet 1'!$C:$C&"""",0)))),ROW('Sheet 1'!$C:$C)-ROW('Sheet 1'!$C$2)+1),1))
The data this looks into in Sheet 1 is as follows...
Column C Column D Column E Column F Column G Column H Column I
Company 1 Initials Phone Call Agent Name Date + Time
Company 2 Initials Phone Call Agent Name Date + Time
Company 3 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 4 Initials Phone Call Agent Name Date + Time
Company 5 Initials Phone Call 2 Agent Name Date + Time
Company 6 Initials Phone Call Agent Name Date + Time
Compnay 7 Initials Phone Call 2 Agent Name Date + Time
Compnay 7 Initials Phone Call 2 Agent Name Date + Time
Column C - Company
Column D - Initials
Column E and F are blank
Column G - Phone Call Type
Column H - Agent Name
Column I - Date and Time Stamp
I am using the formula to calculate how many unique companies (Column C) have been contacted by agent (Column H). This also needs to be calculated against the criteria in Column G. There are hundreds of records and they are all mixed in together. Column G can have many different fields so I only want to pick out the phone calls which are labelled Phone Call, Phone Call 2, Phone Call 3, and Phone Call 4. Can this be simplified into "Phone Call*" possibly? Based on the above data the answer is 7 after pulling this data out in a separate sheet the following formula tells me 7 records but has no criteria to reference =SUM(IF(FREQUENCY(MATCH(C2:C15,C2:C15,0),MATCH(C2:C15,C2:C15,0))>0,1)) the above formula I am needing help with returns 13?
Please can anyone make sense of what I am saying and help me out please!
Bookmarks