Good Morning,
I have a list of 22,528 docket description entries (Column F), most of which are useless. My goal is to extract the number of times certain text appears. And for excel to do it automatically. For instance. I am hoping that Excel can create another table (similar to G2:I4 - without the colors...) that would include a list of EVERY instance column F shows "Judge: . . ." I would then want Excel to take the entire contents of that cell and place it in column H. For instance, F5 and F10 both contain "JUDGE: TUTSCH, ELISABETH M" this should be listed ONCE in column H - as it is in H2.
Additionally, I want excel to count the number of instances this exact text appears in column F. In my example, it appears 17 times. But there is a catch. I only want it to count that exact text once per "Case Key" instance. In my example, "JUDGE: TUTSCH, ELISABETH M" appears 17 times, but only in 3 different case keys.
If it is easier, all rows containing something other than "Judge: . . ." can be deleted.
I have a list of 22,528 docket description entries (Column F), most of which are useless. My goal is to extract the number of times certain text appears. And for excel to do it automatically. For instance. I am hoping that Excel can create another table (similar to G2:I4 - without the colors...) that would include a list of EVERY instance column F shows "Judge: . . ." I would then want Excel to take the entire contents of that cell and place it in column H. For instance, F5 and F10 both contain "JUDGE: TUTSCH, ELISABETH M" this should be listed ONCE in column H - as it is in H2.
Additionally, I want excel to count the number of instances this exact text appears in column F. In my example, it appears 17 times. But there is a catch. I only want it to count that exact text once per "Case Key" instance. In my example, "JUDGE: TUTSCH, ELISABETH M" appears 17 times, but only in 3 different case keys.
If it is easier, all rows containing something other than "Judge: . . ." can be deleted.
Book1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Case Court Initials | Case Key | Case Number | Docket Date | Docket Code | Sub Docket Desc Text | Results I WANT | ||||
2 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | BERS) SC2 | Contains: JUDGE: SWAN, JEFFERY | 7 | 4 | ||
3 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | (BM) JRY DELIBERATED; VERDICT REACH | Contains: JUDGE: TUTSCH, ELISABETH M | 17 | 3 | ||
4 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | ED; GUILTY CNT 1; GUILTY CNT-2; CRT | Contains: JUDGE: HARTHCOCK, GAYLE M | 1 | 1 | ||
5 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
6 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | REPORTED BY J.MOORE (WICKES / CHAM | |||||
7 | S39 | 177869430 | 19-1-00687-6 | 9/21/2022 | JTRIAL | . THNKD JRY AND THEY WERE RELEASED; | |||||
8 | S39 | 177869430 | 19-1-00687-6 | 9/20/2022 | JTRIAL | AN DELIBERATIONS; REPORTED BY J. MO | |||||
9 | S39 | 177869430 | 19-1-00687-6 | 9/20/2022 | JTRIAL | (BM) CRT. READ JURY INSTRUCTIONS; C | |||||
10 | S39 | 177869430 | 19-1-00687-6 | 9/20/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
11 | S39 | 177869430 | 19-1-00687-6 | 9/20/2022 | JTRIAL | ORE (WIICKES / CHAMBERS) SC2 | |||||
12 | S39 | 177869430 | 19-1-00687-6 | 9/20/2022 | JTRIAL | RT. HRD CLOSING ARGUMETNS; JURY BEG | |||||
13 | S39 | 177869430 | 19-1-00687-6 | 9/19/2022 | JTRIAL | AMBERS) SC2 | |||||
14 | S39 | 177869430 | 19-1-00687-6 | 9/19/2022 | JTRIAL | (BM) CRT. HRD TESTMNY; STATE RESTS; | |||||
15 | S39 | 177869430 | 19-1-00687-6 | 9/19/2022 | JTRIAL | CRT. HRD DEF TESTMNY; DEFENSE REST | |||||
16 | S39 | 177869430 | 19-1-00687-6 | 9/19/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
17 | S39 | 177869430 | 19-1-00687-6 | 9/19/2022 | JTRIAL | S; REPORTED BY J.MOORE (WICKES / CH | |||||
18 | S39 | 177869430 | 19-1-00687-6 | 9/16/2022 | JTRIAL | (BM) CRT. HRD TESTMNY; REPORTED BY | |||||
19 | S39 | 177869430 | 19-1-00687-6 | 9/16/2022 | JTRIAL | J.MOORE (WICKES / CHAMBERS) SC2 | |||||
20 | S39 | 177869430 | 19-1-00687-6 | 9/16/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
21 | S39 | 177869430 | 19-1-00687-6 | 9/15/2022 | JTRIAL | (BM) CRT. HRD TESTMNY; REPORTED BY | |||||
22 | S39 | 177869430 | 19-1-00687-6 | 9/15/2022 | JTRIAL | J.MOORE (WICKES / CHAMBERS) SC2 | |||||
23 | S39 | 177869430 | 19-1-00687-6 | 9/15/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
24 | S39 | 177869430 | 19-1-00687-6 | 9/14/2022 | JTRIAL | (BM) CRT. HRD TESTMNY; REPORTED BY | |||||
25 | S39 | 177869430 | 19-1-00687-6 | 9/14/2022 | JTRIAL | J.MOORE (WICKES / CHAMBERS) SC2 | |||||
26 | S39 | 177869430 | 19-1-00687-6 | 9/14/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
27 | S39 | 177869430 | 19-1-00687-6 | 9/13/2022 | JTRIAL | ALLNGES; JURY EMPANELLED; REPORTED | |||||
28 | S39 | 177869430 | 19-1-00687-6 | 9/13/2022 | JTRIAL | (BM) CRT. HRD HARDSHIPS; PEREMPT CH | |||||
29 | S39 | 177869430 | 19-1-00687-6 | 9/13/2022 | JTRIAL | BY J.MOORE (WICKES / CHAMBERS) SC2 | |||||
30 | S39 | 177869430 | 19-1-00687-6 | 9/13/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
31 | S39 | 177869430 | 19-1-00687-6 | 9/12/2022 | JTRIAL | (BM) JURY SELECTION BEGAN; HARDSHIP | |||||
32 | S39 | 177869430 | 19-1-00687-6 | 9/12/2022 | JTRIAL | HRD (WICKES / CHAMBERS) REPORTED B | |||||
33 | S39 | 177869430 | 19-1-00687-6 | 9/12/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
34 | S39 | 177869430 | 19-1-00687-6 | 9/12/2022 | JTRIAL | Y J.MOORE; SC2 | |||||
35 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | (BM) JURY RESUMED DELIBERATIONS; VE | |||||
36 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | C2 | |||||
37 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | J.MOORE; JEREMY CHAMBERS INTERP; S | |||||
38 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
39 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | PLUS AGGRIVATERS; SENT 10/12; ORD | |||||
40 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | RDICT REACHED; GUILTY ON ALL COUNTS | |||||
41 | S39 | 177358804 | 19-1-00048-7 | 8/31/2022 | JTRIAL | SIGND (HOLBROOK/OAKLEY) REPORTED BY | |||||
42 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | (BM) CRT. READ JURY INSTRUCTIONS; C | |||||
43 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | DELIBERATIONS (HOLBROOK / OAKLEY) | |||||
44 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
45 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | NTERP; SC2 | |||||
46 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | REPORTED BY J.MOORE; DORA ORNELAS I | |||||
47 | S39 | 177358804 | 19-1-00048-7 | 8/30/2022 | JTRIAL | RT. HRD CLOSING ARGMNTS; JURY BEGAN | |||||
48 | S39 | 177358804 | 19-1-00048-7 | 8/29/2022 | JTRIAL | AKLEY) REPORTED BY J.MOORE; DORA OR | |||||
49 | S39 | 177358804 | 19-1-00048-7 | 8/29/2022 | JTRIAL | (BM) CRT. HRD TESTMNY (HOLBROOK / O | |||||
50 | S39 | 177358804 | 19-1-00048-7 | 8/29/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
51 | S39 | 177358804 | 19-1-00048-7 | 8/29/2022 | JTRIAL | NELAS INTERP; SC2 | |||||
52 | S39 | 177358804 | 19-1-00048-7 | 8/26/2022 | JTRIAL | AKLEY) REPORTED BY J. MOORE; INTERP | |||||
53 | S39 | 177358804 | 19-1-00048-7 | 8/26/2022 | JTRIAL | (BM) CRT HRD. TESTMNY (HOLBROOK / O | |||||
54 | S39 | 177358804 | 19-1-00048-7 | 8/26/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
55 | S39 | 177358804 | 19-1-00048-7 | 8/26/2022 | JTRIAL | RETED BY DORA ORNELAS; SC2 | |||||
56 | S39 | 177358804 | 19-1-00048-7 | 8/25/2022 | JTRIAL | AKLEY) REPORTED BY J. MOORE; INTERP | |||||
57 | S39 | 177358804 | 19-1-00048-7 | 8/25/2022 | JTRIAL | (BM) CRT HRD. TESTMNY (HOLBROOK / O | |||||
58 | S39 | 177358804 | 19-1-00048-7 | 8/25/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
59 | S39 | 177358804 | 19-1-00048-7 | 8/25/2022 | JTRIAL | RETED BY DORA ORNELAS SC2 | |||||
60 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | (BM) VOIR DIRE WAS HRD; JURY EMPANE | |||||
61 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | EMY CHAMBERS; SC2 | |||||
62 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | ; INTERPRETED BY DORA ORNELAS & JER | |||||
63 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
64 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | LED; CRT. HRD OPENING STAMNTS (HOLB | |||||
65 | S39 | 177358804 | 19-1-00048-7 | 8/24/2022 | JTRIAL | ROOK / OAKLEY) REPORTED BY J. MOORE | |||||
66 | S39 | 177358804 | 19-1-00048-7 | 8/23/2022 | JTRIAL | (BM) JRY SELECTION; PRIVATE INTERVS | |||||
67 | S39 | 177358804 | 19-1-00048-7 | 8/23/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
68 | S39 | 177358804 | 19-1-00048-7 | 8/23/2022 | JTRIAL | S CHAVEZ & JEREMY CHAMBERS; SC2 | |||||
69 | S39 | 177358804 | 19-1-00048-7 | 8/23/2022 | JTRIAL | TED BY J. MOORE; INTERPRTED BY JESU | |||||
70 | S39 | 177358804 | 19-1-00048-7 | 8/23/2022 | JTRIAL | WERE HRD (HOLBROOK / OAKLEY) REPOR | |||||
71 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | 2 | |||||
72 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | (BM) JRY SELECTION; HARDSHIP HRD (H | |||||
73 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | (BM) JURY SELECTION BEGAN (HOLBROOK | |||||
74 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | CHAVEZ INTERP; SC2 | |||||
75 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
76 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | / OAKLEY) REPORTED BY J.MOORE; J. | |||||
77 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | OLBROOK / OAKLEY) REPORTED BY J. MO | |||||
78 | S39 | 177358804 | 19-1-00048-7 | 8/22/2022 | JTRIAL | ORE; INTERPRTED BY JESUS CHAVEZ; SC | |||||
79 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | ERED; EXHIBITS ENTERED / SWORN TEST | |||||
80 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | FTRSC2) | |||||
81 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | IMONY; ROBERTS/STATE; CASE/DEFENSE; | |||||
82 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
83 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | JURY TRIAL; VERDICT NOT GUILTYREND | |||||
84 | S39 | 179929143 | 20-1-01217-9 | 8/5/2022 | JTRIAL | (SAR; G/S ORDER ON ACQUITTAL. 4 DAY | |||||
85 | S39 | 180779309 | 21-1-00621-5 | 6/27/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
86 | S39 | 180779309 | 21-1-00621-5 | 6/27/2022 | JTRIAL | (MM) WRITTEN MINUTES | |||||
87 | S39 | 181794709 | 22-1-00238-2 | 6/21/2022 | JTRIAL | JUDGE: TUTSCH, ELISABETH M | |||||
88 | S39 | 181794709 | 22-1-00238-2 | 6/21/2022 | JTRIAL | (MM) WRITTEN MINUTES | |||||
89 | S39 | 181115956 | 21-1-01172-3 | 6/7/2022 | JTRIAL | (BM/MM) WRITTEN MINUTES | |||||
90 | S39 | 181115956 | 21-1-01172-3 | 6/7/2022 | JTRIAL | JUDGE: HARTHCOCK, GAYLE M | |||||
91 | S39 | 179377494 | 20-1-00262-9 | 5/9/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
92 | S39 | 179377494 | 20-1-00262-9 | 5/9/2022 | JTRIAL | (MM) WRITTEN MINUTES | |||||
93 | S39 | 176704718 | 18-1-01653-9 | 4/18/2022 | JTRIAL | (BM) CRT HRD TESTMNY (BARRETT / SCO | |||||
94 | S39 | 176704718 | 18-1-01653-9 | 4/18/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
95 | S39 | 176704718 | 18-1-01653-9 | 4/18/2022 | JTRIAL | TT) REPORTED BY J.MOORE; SC2 | |||||
96 | S39 | 176704718 | 18-1-01653-9 | 4/15/2022 | JTRIAL | (BARRETT / SCOTT) REPORTED BY J.MO | |||||
97 | S39 | 176704718 | 18-1-01653-9 | 4/15/2022 | JTRIAL | (BM) CRT HRD TESTMNY FROM WITNESSES | |||||
98 | S39 | 176704718 | 18-1-01653-9 | 4/15/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
99 | S39 | 176704718 | 18-1-01653-9 | 4/15/2022 | JTRIAL | ORE; SC2 | |||||
100 | S39 | 176704718 | 18-1-01653-9 | 4/14/2022 | JTRIAL | (BARRETT / SCOTT) REPORTED BY J.MO | |||||
101 | S39 | 176704718 | 18-1-01653-9 | 4/14/2022 | JTRIAL | (BM) CRT HRD TESTMNY FROM WITNESSES | |||||
102 | S39 | 176704718 | 18-1-01653-9 | 4/14/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
103 | S39 | 176704718 | 18-1-01653-9 | 4/14/2022 | JTRIAL | ORE; SC2 | |||||
104 | S39 | 176704718 | 18-1-01653-9 | 4/13/2022 | JTRIAL | (BARRETT / SCOTT) REPORTED BY J.MO | |||||
105 | S39 | 176704718 | 18-1-01653-9 | 4/13/2022 | JTRIAL | (BM) CRT HRD TESTMNY FROM WITNESSES | |||||
106 | S39 | 176704718 | 18-1-01653-9 | 4/13/2022 | JTRIAL | JUDGE: SWAN, JEFFERY | |||||
107 | S39 | 176704718 | 18-1-01653-9 | 4/13/2022 | JTRIAL | ORE; SC2 | |||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H2 | H2 | =COUNTIF(F2:F997,"*JUDGE: SWAN, JEFFERY*") |
H3 | H3 | =COUNTIF(F3:F998,"*JUDGE: TUTSCH, ELISABETH M*") |
H4 | H4 | =COUNTIF(F4:F999,"*JUDGE: HARTHCOCK, GAYLE M*") |