How to find Latest Value / Count based on latest Date?

bomberchia

New Member
Joined
Nov 28, 2008
Messages
3
Hi Guys, have a problem that would like to seek help with using measure based on the sample data below:

I have a csv file appended on daily basis with audit activities for the agent's calling campaigns.
Sample Data 1.png

Would like some help to write out measure(s) on the table below:
  1. Segregate the calling list out by getting the latest unique counts of the completion code
  2. I could expand it further by seeing codes tagged based on "Latest" date in the CSV file consumed.
  3. the counts of the completion code will increase should the agent call more customers and it should only reflect the latest / max date values and counts.
Sample 2.png



Much appreciated if some guidance can be shared.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Is this what you're looking for?

Book6
ABCDEF
1DateCalling_ListContact_IDAgent_NameCompletion_Tag
28/10/2021MASTERCARD CALLING1110PETERCALL BACK LATER
38/13/2021MASTERCARD CALLING1110PETERPENDING DOCUMENTS
48/13/2021MASTERCARD CALLING1110PETERSIGNED UP
57/20/2021AMEX CALLING2220JANECALL BACK LATER
67/21/2021AMEX CALLING2220JANEPENDING DOCUMENTS
78/13/2021AMEX CALLING2220JANENO ANSWER
8
9
10
11
12
13
14Calling_ListAgent_NameSIGNED UPNO ANSWERCALL BACK LATERPENDING DOCUMENTS
15MASTERCARD CALLINGPETER1001
16AMEX CALLINGJANE0100
17
Sheet1
Cell Formulas
RangeFormula
C15:F16C15=COUNTIFS($A$2:$A$7,"=" & TODAY(),$B$2:$B$7,"="& $A15,$D$2:$D$7,"="& $B15,$E$2:$E$7,"="& C$14)
 
Upvote 0
Updated to include ALL dates and a field to enter the date you want

Book6
ABCDEF
1DateCalling_ListContact_IDAgent_NameCompletion_Tag
28/10/2021MASTERCARD CALLING1110PETERCALL BACK LATER
38/13/2021MASTERCARD CALLING1110PETERPENDING DOCUMENTS
48/13/2021MASTERCARD CALLING1110PETERSIGNED UP
57/20/2021AMEX CALLING2220JANECALL BACK LATER
67/21/2021AMEX CALLING2220JANEPENDING DOCUMENTS
78/13/2021AMEX CALLING2220JANENO ANSWER
8
9
10
11As of DateInclude All Dates
128/13/2021FALSE<==Change to TRUE for Totals for all dates
13
14Calling_ListAgent_NameSIGNED UPNO ANSWERCALL BACK LATERPENDING DOCUMENTS
15MASTERCARD CALLINGPETER1001
16AMEX CALLINGJANE0100
Sheet1
Cell Formulas
RangeFormula
C15:F16C15=IF($C$12,COUNTIFS($B$2:$B$7,"="& $A15,$D$2:$D$7,"="& $B15,$E$2:$E$7,"="& C$14),COUNTIFS($A$2:$A$7,"=" & $B$12,$B$2:$B$7,"="& $A15,$D$2:$D$7,"="& $B15,$E$2:$E$7,"="& C$14))
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,961
Members
452,539
Latest member
delvey

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