Countif report with duplicates

lbrad24

New Member
Joined
Dec 26, 2019
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I'll try to explain this the best as I can. I have a call log that I am keeping track of customer contacts in a table. I have a separate table counting results of those calls "NA, LM, Texted, or LM & Texted." I'm wanting to track follow ups that I receive based on those results. I assume the easiest way to count those results will have something to do with searching the table for the name with the result "quoted" to find where it was previously "NA, LM, Texted, or LM & Texted." I'm struggling with the logic though.

1643990698074.png
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I am not fully clear on what your goal is but I think this will get you started.
Add a calculated column "Quoted" to the Activity Tracker that determines if that lines name is ever quoted. here are 2 ways (I prefer #2)
1. (as array formula) {=IFERROR(IF(MATCH(1,([Name]=[@Name])*([result]="Quoted"),0)>0,"Y","N"),"N")}
2. =IF(SUMPRODUCT(--([Name]=[@Name]),--([result]="Quoted"))>0,"Y","N")

Then in your quoted by result table use your proposed countifs
ex. for the NA column(Note Table1 would be your Activity Tracker table): =COUNTIFS(Table1[result],"NA",Table1[Quoted],"Y")
or using sumproduct, =SUMPRODUCT(--(Table1[result]="NA"),--(Table1[Quoted]="Y"))
Then substitute in the needed conditions for each column.
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,694
Members
449,092
Latest member
snoom82

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