I'm trying to pull back (based on Customer Number), their #1 Case Reason based on volume of cases, and then when there is a tie (like for 3CTI001-S or 3RTT001), bring back the most recent Case Reason as the winner (from the top tied groups).
I'm thinking there are some arrays and countifs involved here, but my brain hurts from the hours trying to figure this out. Many thanks for your help.
I'm thinking there are some arrays and countifs involved here, but my brain hurts from the hours trying to figure this out. Many thanks for your help.
Excel 2010 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Customer Number | Case Reason | Date/Time Opened | Customer Number | Top Reason (should be) | |||
2 | 101W001-S | Installation | 3/7/2016 9:07 | 101W001-S | Installation | |||
3 | 101W001-S | Installation | 3/7/2016 6:15 | 3CTI001 | Hardware Tech Support | |||
4 | 101W001-S | Installation | 2/24/2016 8:57 | 3CTI001-S | Hardware Tech Support | |||
5 | 101W001-S | Software Tech Support | 6/30/2016 7:55 | 3DCO001 | Software Tech Support | |||
6 | 101W001-S | Software Tech Support | 6/10/2016 5:54 | 3RTT001 | General Account Maintenance | |||
7 | 3CTI001 | Software Tech Support | 9/22/2016 16:35 | 405T001 | Installation | |||
8 | 3CTI001 | General Account Maintenance | 3/16/2016 14:15 | |||||
9 | 3CTI001 | Installation | 9/15/2016 13:19 | |||||
10 | 3CTI001 | Hardware Tech Support | 7/14/2016 8:36 | |||||
11 | 3CTI001 | Hardware Tech Support | 9/6/2016 12:24 | |||||
12 | 3CTI001 | Hardware Tech Support | 9/1/2016 13:48 | |||||
13 | 3CTI001-S | General Account Maintenance | 3/15/2016 13:24 | |||||
14 | 3CTI001-S | General Inquiries | 2/2/2016 9:57 | |||||
15 | 3CTI001-S | Hardware Tech Support | 3/30/2016 9:39 | |||||
16 | 3DCO001 | Hardware Tech Support | 10/31/2016 9:21 | |||||
17 | 3DCO001 | Hardware Tech Support | 10/31/2016 9:12 | |||||
18 | 3DCO001 | Software Tech Support | 8/17/2016 8:27 | |||||
19 | 3GCO001 | Software Tech Support | 10/31/2016 12:32 | |||||
20 | 3GCO001 | Software Tech Support | 8/17/2016 8:27 | |||||
21 | 3GCO001 | Software Tech Support | 8/9/2016 14:11 | |||||
22 | 3RTT001 | General Account Maintenance | 11/11/2016 12:19 | |||||
23 | 3RTT001 | General Account Maintenance | 9/6/2016 6:26 | |||||
24 | 3RTT001 | General Inquiries | 7/14/2016 10:15 | |||||
25 | 3RTT001 | General Inquiries | 7/11/2016 5:46 | |||||
26 | 3RTT001 | Installation | 8/24/2016 12:37 | |||||
27 | 3RTT001 | Installation | 7/9/2016 7:50 | |||||
28 | 3RTT001 | Hardware Tech Support | 12/1/2016 9:39 | |||||
29 | 405T001 | Finance | 6/16/2016 13:42 | |||||
30 | 405T001 | Installation | 1/22/2016 13:39 | |||||
31 | 405T001 | Installation | 1/22/2016 12:06 | |||||
32 | 405T001 | Installation | 1/22/2016 11:17 | |||||
33 | 405T001 | Installation | 1/22/2016 9:48 | |||||
test |
Last edited: