How to highlight top 10 duplicates in a column

wmichael

Board Regular
Joined
Aug 26, 2014
Messages
113
Office Version
  1. 365
  2. 2019
  3. 2007
Platform
  1. Windows
  2. Mobile
Hello. I am asking for your help to figure out how to highlight the top 10 duplicates in this column. Thank you in advance.
2019-22 Media Clips v04.xlsx
CH
1Distributed by 177 Outlets
2Boothbay Register (The)
3Homer News
4SOUNDINGS (TRADE ONLY)
5CARRIAGE TOWNE NEWS
6Soundings: Trade Only
7Marina Dock Age
8Fishing Wire (The)
9Boating Industry Online
10Soundings: Trade Only
11SMITH MOUNTAIN EAGLE
12TAMPA BAY TIMES
13ROANOKE TIMES
14Boating Industry Online
15Fishing Wire (The)
16Outdoor Wire (The)
17LAKELAND BOATING
18Florida Weekly
19SARASOTA HERALD-TRIBUNE
20THE LOG (SOUTHERN CALIFORNIA EDITION)
21My Mother Lode
22WRAL-TV Channel 5
23Antlers American (The)
24Minyanville
25Wapakoneta Daily News
26Townhall.com
27International Business Times
28StreetInsider.com
29Borger News-Herald
30San Diego Union Tribune
31Morning News
32Inyo Register
33Marketplace
34Rockford Register Star
35Evening Leader
36Starkville Daily News
37Ridgway Record
38Saint Mary's Daily Press
39Kane Republican
40Sweetwater Reporter
41Observer News Enterprise (The)
42Pilot News
43Pittsburgh Post-Gazette
44Punxsutawney Spirit
45Poteau Daily News & Sun
46Minneapolis Star Tribune
47Oklahoman
48Milwaukee Journal Sentinel
49Malvern Daily Record
50Mammoth Times Online
51Franklin Credit Management Corporation
52Ascensus
53Post & Mail
54Saline Courier (The)
55Spoke.com
56Buffalo News
57Valley City Times Record
58Long Beach Press-Telegram
59Great American Insurance Company
60Ask.com
61Decatur Daily Democrat
62Value Investing News
63Daily Times Leader
64Big Spring Herald
65Boston Herald
66Illinois Daily Herald
67InvestorPlace
68Arizona Republic
69Fat Pitch Financials
70WallStreetSelect
71PR Newswire
72Fox21 Delmarva
73WBOC-TV Channel 16
74WFMZ-TV Channel 69
75FOX 40 WICZ TV
76Community News
77Salamanca Press
78SMITH MOUNTAIN EAGLE
79CAPE MAY STAR AND WAVE
80Fishing Wire (The)
81Outdoor Wire (The)
82LAKELAND BOATING
83BRADENTON HERALD
84Marina Dock Age
85Soundings: Trade Only
86Boating Industry Online
87Fishing Wire (The)
88Log (The)
89Florida Weekly
90Island Reporter
91Florida Weekly
92GAINESVILLE SUN
93PENSACOLA NEWS JOURNAL
94WKRG News 5
95Marina Dock Age
96Florida Sportsman
97YubaNet.com
98Soundings
99Cape Coral Daily Breeze
100ABC7
101Soundings: Trade Only
102Count on 2 First
103Count on 2 First
104News 13
105Connecticut Post
106Middletown Press
107Shelton Herald
108Washington Times
109Houston Chronicle
110York Dispatch
111Seattle Post-Intelligencer
112US News and World Report
113Peninsula Daily News
114San Francisco Chronicle
115Register Citizen
116Spectrum Bay News 9
117New Haven Register
118San Antonio Express-News
119AP
120Aspen Times
121FLORIDA SPORTSMAN
122WHITEWATER REGISTER
123Boothbay Register (The)
124WATERFORD POST
125BEDFORD BULLETIN
126ROANOKE TIMES
127SOUNDINGS (TRADE ONLY)
128Fishing Wire (The)
129SMITH MOUNTAIN EAGLE
130Marina Dock Age
131Soundings: Trade Only
132ENTERPRISE
133SMITH MOUNTAIN EAGLE
134Action News Now
135Soundings: Trade Only
136Valdosta Daily Times (The)
137Soundings: Trade Only
138Spectrum Bay News 9
139ROANOKE TIMES
140Spectrum Bay News 9
141Voice (The)
142Maryland Independent (The)
143Florida Weekly
144Marina Dock Age
145Fort Morgan Times
146Daily Sentinel
147Florida Weekly
148Brush News-Tribune
149Public
150Soundings: Trade Only
151Boating Industry Online
152Fishing Wire (The)
153Outdoor Wire (The)
154The Hull Truth
155Florida Weekly
156Florida Weekly
157SOUNDINGS (TRADE ONLY)
158Florida Weekly
159Florida Weekly
160Fishing Wire (The)
161Soundings: Trade Only
162Boating Industry Online
163Soundings: Trade Only
164MIAMI HERALD
165Fishing Wire (The)
166LAKELAND BOATING
167SOUTHERN BOATING
168SOUNDINGS
169Fishing Wire (The)
170Speed On The Water
171CONNECTICUT POST
172Soundings
173GREENWICH TIME
174STAMFORD ADVOCATE
175NORWALK HOUR
176NEWS-TIMES
177NEW HAVEN REGISTER
178Greenwich Time
179Advocate
180Fairfield Citizen-News
181Greater New Milford Spectrum
182Hour (The)
183News-Times
184Connecticut Post
185Westport News
186Middletown Press
187Register Citizen
188New Haven Register
189FLORIDA WEEKLY
190Florida Weekly
191Florida Weekly
192Voice (The)
193Fishing Wire (The)
194Voice (The)
195Marina Dock Age
196Fishing Wire (The)
197Pontoon & Deck Boat
198Public
199Count on 2 First
200Fishing Wire (The)
201Erie News Now
202RFD TV
203Boating Industry Online
204Fox21 Delmarva
205Public
206FOX 40 WICZ TV
207Soundings: Trade Only
208EIN Presswire
209Yahoo! Finance
210Borger News-Herald
211TulsaCW.com
212KAKE-TV Channel 10
213Antlers American (The)
214Wapakoneta Daily News
215WRAL-TV Channel 5
216Barchart
217Minyanville
218My Mother Lode
219International Business Times
220San Diego Union Tribune
221Inyo Register
222Starkville Daily News
223StreetInsider.com
224Townhall.com
225Rockford Register Star
226Long Beach Press-Telegram
227Valley City Times Record
228Decatur Daily Democrat
229Saline Courier (The)
230Arizona Republic
231WallStreetSelect
232Morning News
233Fat Pitch Financials
234Saint Mary's Daily Press
235Marketplace
236Ridgway Record
237Punxsutawney Spirit
238Kane Republican
239Evening Leader
240Observer News Enterprise (The)
241Pilot News
242Spoke.com
243Poteau Daily News & Sun
244Sweetwater Reporter
245Franklin Credit Management Corporation
246Pittsburgh Post-Gazette
247Mammoth Times Online
248Ask.com
249Ascensus
250Malvern Daily Record
251Oklahoman
252Minneapolis Star Tribune
253Post & Mail
254Daily Times Leader
255Milwaukee Journal Sentinel
256Boston Herald
257Illinois Daily Herald
258MarketWatch
259Big Spring Herald
260KARN NewsRadio 102.9 FM/920 AM
261Buffalo News
262Value Investing News
263Great American Insurance Company
264KVOR 740 AM
265InvestorPlace
266Dow Jones Newswires
267ROANOKE TIMES
268Soundings: Trade Only
269LAKELAND BOATING
270Boating Industry Online
271Fishing Wire (The)
272Boating Industry Online
273Fishing Wire (The)
274LAKELAND BOATING
275WILLIAMSPORT SUN-GAZETTE
276CAPE CORAL BREEZE
277CAPE CORAL BREEZE
278SMITH MOUNTAIN EAGLE
279ROANOKE TIMES
280DAYTONA BEACH NEWS-JOURNAL
281Fort Myers Beach Observer
282Cape Coral Daily Breeze
283Pine Island Eagle
284Island Reporter
285BEDFORD BULLETIN
286Fishing Wire (The)
287Times Record
288Soundings: Trade Only
289Boating Industry Online
290PORT CHARLOTTE SUN
291NEWSDAY (SUFFOLK EDITION)
292NEWSDAY (NASSAU EDITION)
293NEWSDAY
294ROANOKE TIMES
295Sun Newspapers
296Sun Newspapers
297CNN.com
298TIDELAND NEWS
299DAILY NEWS
300FLORIDA TIMES-UNION
301Sun Newspapers
302KEY WEST CITIZEN
303SUFFOLK TIMES
304RIVERHEAD NEWS-REVIEW
305GAINESVILLE SUN
306PALM BEACH POST
307STUART NEWS
308INDIAN RIVER PRESS JOURNAL
309Sun Newspapers
310Marina Dock Age
311CARTERET COUNTY NEWS-TIMES
312News-Review
313Suffolk Times
314Soundings: Trade Only
315Boating Industry Online
316STANDARD JOURNAL
317STANDARD JOURNAL
318White Lake Beacon
319WNCT-TV Channel 9
320Jacksonville Daily News
321Pontoon & Deck Boat
322WITN-TV Channel 7
323Carteret County News Times
324ORLANDO SENTINEL
325Marina Dock Age
326Sun Newspapers
327FLORIDA WEEKLY
328FLORIDA WEEKLY
329Boating World
330SMITH MOUNTAIN EAGLE
331ROANOKE TIMES
332BEDFORD BULLETIN
333Williamsburg Yorktown Daily
334CAPE CORAL BREEZE
335Fort Myers Beach Observer
336Island Reporter
337Pine Island Eagle
338Cape Coral Daily Breeze
339Williamsburg Yorktown Daily
340Fort Myers Beach Observer
341Sun Newspapers
342Sun Newspapers
343Register Citizen
344Connecticut Post
345Middletown Press
346BEDFORD BULLETIN
347Sun Newspapers
348SMITH MOUNTAIN EAGLE
349BEDFORD BULLETIN
350SHELTER ISLAND REPORTER
351SWFL Parent & Child
352Shelbyville Daily Union (The)
353Brunswick
354Outdoor Wire (The)
355Bass Angler Magazine
356Outdoor Wire (The)
357Public
358Fishing Wire (The)
359Soundings: Trade Only
360Fishing Wire (The)
361Boating Industry Online
362Sun Newspapers
363SWFL Parent & Child
raw
Cell Formulas
RangeFormula
CH1CH1=CONCATENATE("Distributed by ",SUM(IF(FREQUENCY(IF(LEN(CH2:CH512)>0,MATCH(CH2:CH512,CH2:CH512,0),""),IF(LEN(CH2:CH512)>0,MATCH(CH2:CH512,CH2:CH512,0),""))>0,1))," Outlets")
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
One way would be to use a helper column (which could be hidden) and Conditional Formatting. I have hidden most of this to keep the post smaller.

BTW, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

wmichael.xlsm
CHCI
1Distributed by 177 Outlets
2Boothbay Register (The)2
3Homer News1
4SOUNDINGS (TRADE ONLY)3
5CARRIAGE TOWNE NEWS1
6Soundings: Trade Only15
7Marina Dock Age8
8Fishing Wire (The)17
9Boating Industry Online11
10Soundings: Trade Only0
11SMITH MOUNTAIN EAGLE7
12TAMPA BAY TIMES1
13ROANOKE TIMES7
14Boating Industry Online0
15Fishing Wire (The)0
16Outdoor Wire (The)5
17LAKELAND BOATING5
18Florida Weekly14
19SARASOTA HERALD-TRIBUNE1
341Sun Newspapers0
342Sun Newspapers0
343Register Citizen0
344Connecticut Post0
345Middletown Press0
346BEDFORD BULLETIN0
347Sun Newspapers0
348SMITH MOUNTAIN EAGLE0
349BEDFORD BULLETIN0
350SHELTER ISLAND REPORTER1
351SWFL Parent & Child2
352Shelbyville Daily Union (The)1
353Brunswick1
354Outdoor Wire (The)0
355Bass Angler Magazine1
356Outdoor Wire (The)0
357Public0
358Fishing Wire (The)0
359Soundings: Trade Only0
360Fishing Wire (The)0
361Boating Industry Online0
362Sun Newspapers0
363SWFL Parent & Child0
Sheet3
Cell Formulas
RangeFormula
CI2:CI19,CI341:CI363CI2=IF(ISNA(MATCH(CH2,CH$1:CH1,0)),COUNTIF(CH2:CH$363,CH2),0)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
CH2:CH363Expression=IF(CI2,CI2,VLOOKUP(CH2,CH$1:CI1,2,0))>=LARGE(CI$2:CI$363,10)textNO
 
Last edited:
Upvote 0
Okay, this is working- is there a formula to list the outlets in CH that correspond with the highlighted cells in CI on another tab?
2019-22 Media Clips v04.xlsx
D
90TOP DISTRIBUTING OUTLETS
91name
92name
93name
94name
95name
96name
97name
98name
99name
100name
dashboard
 
Upvote 0
If using Excel 365 is okay & you have the FILTER function ..

If you need it to work in all your Excel versions, post back with that request.

wmichael.xlsm
CHCICJCK
1Distributed by 177 Outlets
2Boothbay Register (The)2Soundings: Trade Only
3Homer News1Marina Dock Age
4SOUNDINGS (TRADE ONLY)3Fishing Wire (The)
5CARRIAGE TOWNE NEWS1Boating Industry Online
6Soundings: Trade Only15SMITH MOUNTAIN EAGLE
7Marina Dock Age8ROANOKE TIMES
8Fishing Wire (The)17Outdoor Wire (The)
9Boating Industry Online11LAKELAND BOATING
10Soundings: Trade Only0Florida Weekly
11SMITH MOUNTAIN EAGLE7BEDFORD BULLETIN
12TAMPA BAY TIMES1Sun Newspapers
13ROANOKE TIMES7
14Boating Industry Online0
15Fishing Wire (The)0
Sheet3
Cell Formulas
RangeFormula
CK2:CK12CK2=FILTER(CH2:CH363,CI2:CI363>=LARGE(CI2:CI363,10))
CI2:CI15CI2=IF(ISNA(MATCH(CH2,CH$1:CH1,0)),COUNTIF(CH2:CH$363,CH2),0)
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
CH2:CH363Expression=IF(CI2,CI2,VLOOKUP(CH2,CH$1:CI1,2,0))>=LARGE(CI$2:CI$363,10)textNO
 
Upvote 0
Solution
Hello. I am asking your help to answer a related question- is there a way to modify this formula to limit selection between two dates in another column? Thank you.
 
Upvote 0
is there a way to modify this formula ...
We have three formulas: col CI, col CK and the CF formula.

Could we have a small set of sample data and expected results with explanation directed at that sample data?
 
Upvote 0
Hi Peter, right now I am using this formula "=FILTER(raw!DD2:DD1000,raw!CZ2:CZ1000>=LARGE(raw!CZ2:CZ1000,20))" to pull top media outlets from column DD from a sheet called RAW to into column A of a sheet called Dashboard. I want to pull the same top media outlets from RAW into column D starting on line 122 on the sheet Dashboard for the year 2020. Let me know if you need more information and thank you for your help on this.

RAW SHEET
2019-22 Media Clips v06.xlsx
DCDDDEDFDGDHDIDJDKDLDMDN
1174 HeadlinesDistributed by 167 OutletsAcross 1 Direct Media AreasDma RankAcross 135 Citiesand 34 Statesand 1 CountriesProduced a combined total of 105,656,956 Circulation, Impressions, and Event AttendeesWith a total of $6,133,171 in Media ValueConsisting of 57 Print Articles, 297 Web Headlines, and Attendees to 0 Events that breaks down to:Published DatePosted Date
2Englewood Community News Briefs for July 2, 2019Sun NewspapersN/AN/AENGLEWOODFLUSA21,268$485 - Web07-01-20197/3/2019
310 tips for boating with kids by Safe Kids, Heather O'BrienSWFL Parent & ChildN/AN/AFORT MYERSFLUSA8,500$934 - Web07-02-20197/3/2019
4Lake Shelbyville to hold Life Jacket DriveShelbyville Daily Union (The)N/AN/ASHELBYVILLEILUSA4,579$88 - Web06-27-20197/3/2019
5Where to find loaner life jackets in SW FL by Safe KidsSWFL Parent & ChildN/AN/AFORT MYERSFLUSA8,500$404 - Web07-02-20197/3/2019
6EYE ON THE BALLSHELTER ISLAND REPORTERN/A1SHELTER ISLANDNYUSA2,927$190 - Print06-20-20197/5/2019
7Promoting safe boating SMITH MOUNTAIN EAGLEN/A68MONETAVAUSA4,400$166 - Print06-26-20197/10/2019
8Root Beer Floats", but you don't, so wear your life jacket BEDFORD BULLETINN/A68BEDFORDVAUSA4,563$276 - Print06-26-20197/10/2019
9Englewood Briefs for July 10, 2019Sun NewspapersN/AN/AENGLEWOODFLUSA21,268$931 - Web07-09-20197/10/2019
10New life jacket loaner stands open in Norwalk - The Register CitizenRegister CitizenN/AN/ATORRINGTONCTUSA17,253$364 - Web07-12-20197/18/2019
11New life jacket loaner stands open in NorwalkConnecticut PostN/AN/ABRIDGEPORTCTUSA394,799$13,453 - Web07-12-20197/18/2019
12New life jacket loaner stands open in NorwalkMiddletown PressN/AN/AMIDDLETOWNCTUSA11,272$95 - Web07-12-20197/18/2019
13Community Briefs for July 14, 2019Sun NewspapersN/AN/AENGLEWOODFLUSA21,268$834 - Web07-12-20197/18/2019
14Englewood Community Briefs for July 12, 2019Sun NewspapersN/AN/AENGLEWOODFLUSA21,268$914 - Web07-11-20197/18/2019
15'ABCs' are important in drowning preventionFort Myers Beach ObserverN/AN/AFORT MYERSFLUSA3,738$1,205 - Web07-19-20197/24/2019
16Water safety: 'ABCs' are important in drowning preventionIsland ReporterN/AN/ASANIBELFLUSA507$9,563 - Web07-19-20197/24/2019
17Water safety: 'ABCs' are important in drowning preventionCape Coral Daily BreezeN/AN/ACAPE CORALFLUSA2,878$32 - Web07-18-20197/24/2019
raw
Cell Formulas
RangeFormula
DC1DC1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(DC2:DC492)>0,MATCH(DC2:DC492,DC2:DC492,0),""),IF(LEN(DC2:DC492)>0,MATCH(DC2:DC492,DC2:DC492,0),""))>0,1))," Headlines")
DD1DD1=CONCATENATE("Distributed by ",SUM(IF(FREQUENCY(IF(LEN(DD2:DD492)>0,MATCH(DD2:DD492,DD2:DD492,0),""),IF(LEN(DD2:DD492)>0,MATCH(DD2:DD492,DD2:DD492,0),""))>0,1))," Outlets")
DE1DE1=CONCATENATE("Across ",SUM(IF(FREQUENCY(IF(LEN(DE2:DE492)>0,MATCH(DE2:DE492,DE2:DE492,0),""),IF(LEN(DE2:DE492)>0,MATCH(DE2:DE492,DE2:DE492,0),""))>0,1))," Direct Media Areas")
DG1DG1=CONCATENATE("Across ",SUM(IF(FREQUENCY(IF(LEN(DG2:DG492)>0,MATCH(DG2:DG492,DG2:DG492,0),""),IF(LEN(DG2:DG492)>0,MATCH(DG2:DG492,DG2:DG492,0),""))>0,1))," Cities")
DH1DH1=CONCATENATE("and ",SUM(IF(FREQUENCY(IF(LEN(DH2:DH492)>0,MATCH(DH2:DH492,DH2:DH492,0),""),IF(LEN(DH2:DH492)>0,MATCH(DH2:DH492,DH2:DH492,0),""))>0,1))," States")
DI1DI1=CONCATENATE("and ",SUM(IF(FREQUENCY(IF(LEN(DI2:DI492)>0,MATCH(DI2:DI492,DI2:DI492,0),""),IF(LEN(DI2:DI492)>0,MATCH(DI2:DI492,DI2:DI492,0),""))>0,1))," Countries")
DJ1DJ1=CONCATENATE("Produced a combined total of ",TEXT(SUM(DJ2:DJ492),"#,##0")," Circulation, Impressions, and Event Attendees")
DK1DK1=CONCATENATE("With a total of $",TEXT(SUM(DK2:DK492),"#,##0")," in Media Value")
DL1DL1=CONCATENATE("Consisting of ",COUNTIF(DL2:DL492,"*Print*")," Print Articles, ",COUNTIF(DL2:DL492,"*Web*")," Web Headlines, and Attendees to ",COUNTIF(DL2:DL492,"*Event*")," Events that breaks down to:")


SHEET DASHBOARD
2019-22 Media Clips v06.xlsx
ABCDEFGHIJKLM
1SEA TOW FOUNDATION PRINT AND WEB ARTICLES; AND EVENTSGrand Totals2019 (Jul-Dec)20202021Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20
2SUMMARY
3Unique Headlines about Sea Tow Foundation efforts 174 78 96 15 27 9 8 6 14 12 6
4Quantity of articles generated by headlines 354 153 201 20 28 11 12 6 76 25 6
5Unique outlets that have distributed headlines 167 111 125 14 22 10 11 1 72 19 4
6Unique Cities where headlines were distributed 135 93 107 13 17 8 10 4 65 17 4
7Unique States where headlines were distributed 34 29 31 5 11 6 4 4 27 5 4
8Print Circulation, Web Impressions, and Event Attendance Total 105,522,148 57,232,640 48,289,508 563,933 24,538,093 682,830 230,773 74,332 31,142,679 1,536,791 114,022
9Media Value Total $ 6,128,489 $ 5,228,034 $ 900,455 $ 31,329 $ 3,878,440 $ 22,643 $ 4,905 $ 874 $ 1,289,843 $ 84,500 $ 3,075
10 - - -
11Print circulation total 1,612,165 1,000,758 611,407 11,890 92,126 633,862 220,784 42,096 - 215,861 73,781
12Print circulation value $ 99,229 $ 28,131 $ 71,098 $ 632 $ 2,866 $ 20,857 $ 3,225 $ 551 $ - $ 31,017 $ 2,250
13Web impressions total 103,790,620 56,231,882 47,558,738 552,043 24,445,967 48,968 9,989 32,236 31,142,679 1,320,930 40,241
14Web impressions value 6,021,042 5,199,903 821,139 $ 30,697 $ 3,875,574 $ 1,786 $ 1,680 $ 323 $ 1,289,843 $ 53,483 $ 825
15Event attendance total - - -
16Web impressions that mention STF sponsors and friends 78,970,014 31,220,438 47,749,576 8,536 38,154 - 42,096 71,771 31,059,881 1,497,154 114,022
17Value of web impressions that mention STF sponsors and friends $ 2,166,212 $ 1,307,303 858,909 $ 10,816 $ 6,348 $ - $ 642 $ 855 $ 1,288,642 $ 83,226 $ 3,075
18Web impressions for STF campaigns and general mentions 22,353,251 812,605 21,540,646 105,462 64,333 588,711 41,644 - 12,455 1,422,836 -
19Value of web impressions for STF campaign and general mentions $ 583,704 $ 32,214 551,490 $ 4,730 $ 1,942 $ 20,743 $ 569 $ - $ 4,230 $ 60,829 $ -
121TOP MEDIA OUTLETS
122Sun Newspapers
123SMITH MOUNTAIN EAGLE
124BEDFORD BULLETIN
125Register Citizen
126Connecticut Post
127Middletown Press
128Fort Myers Beach Observer
129Island Reporter
130Cape Coral Daily Breeze
131ROANOKE TIMES
132FLORIDA WEEKLY
133Marina Dock Age
134Boating Industry Online
135Soundings: Trade Only
136Fishing Wire (The)
137LAKELAND BOATING
138Public
139Count on 2 First
140Voice (The)
141New Haven Register
142Soundings
143SOUNDINGS (TRADE ONLY)
144Outdoor Wire (The)
145Spectrum Bay News 9
dashboard
Cell Formulas
RangeFormula
B3B3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,1,1))*(raw!$DN$2:$DN$1000<=DATE(2020,12,31)),"")))
C3C3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,1,1))*(raw!$DN$2:$DN$1000<=DATE(2019,12,31)),"")))
D3D3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2020,1,1))*(raw!$DN$2:$DN$1000<=DATE(2020,12,31)),"")))
B4,B8:B19B4=SUM(C4:E4)
C4,C8:C19C4=SUM(F4:K4)
D4,D8:D19D4=SUM(L4:W4)
B5B5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
C5C5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
D5D5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
B6B6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
C6C6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
D6D6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
B7B7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
C7C7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,1,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
D7D7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,12,31)),"")))
F3F3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,7,1))*(raw!$DN$2:$DN$1000<=DATE(2019,7,31)),"")))
G3G3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,8,1))*(raw!$DN$2:$DN$1000<=DATE(2019,8,31)),"")))
H3H3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,9,1))*(raw!$DN$2:$DN$1000<=DATE(2019,9,30)),"")))
I3I3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,10,1))*(raw!$DN$2:$DN$1000<=DATE(2019,10,31)),"")))
J3J3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,11,1))*(raw!$DN$2:$DN$1000<=DATE(2019,11,30)),"")))
K3K3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2019,12,1))*(raw!$DN$2:$DN$1000<=DATE(2019,12,31)),"")))
L3L3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2020,1,1))*(raw!$DN$2:$DN$1000<=DATE(2020,1,31)),"")))
M3M3=COUNTA(UNIQUE(FILTER(raw!$DC$2:$DC$1000,(raw!$DN$2:$DN$1000>=DATE(2020,2,1))*(raw!$DN$2:$DN$1000<=DATE(2020,2,29)),"")))
F4F4=COUNTIFS(raw!$DN2:$DN1000,">=7/1/2019",raw!$DN2:$DN$1000,"<=7/31/2019")
G4G4=COUNTIFS(raw!$DN2:$DN1000,">=8/1/2019",raw!$DN2:$DN$1000,"<=8/31/2019")
H4H4=COUNTIFS(raw!$DN2:$DN1000,">=9/1/2019",raw!$DN2:$DN$1000,"<=9/30/2019")
I4I4=COUNTIFS(raw!$DN2:$DN1000,">=10/1/2019",raw!$DN2:$DN$1000,"<=10/31/2019")
J4J4=COUNTIFS(raw!$DN2:$DN1000,">=11/1/2019",raw!$DN2:$DN$1000,"<=11/30/2019")
K4K4=COUNTIFS(raw!$DN2:$DN1000,">=12/1/2019",raw!$DN2:$DN$1000,"<=12/31/2019")
L4L4=COUNTIFS(raw!$DN2:$DN1000,">=1/1/2020",raw!$DN2:$DN$1000,"<=1/31/2020")
M4M4=COUNTIFS(raw!$DN2:$DN1000,">=2/1/2020",raw!$DN2:$DN$1000,"<=2/29/2020")
F5F5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,7,1))*(raw!$DN$2:$DN$1001<=DATE(2019,7,31)),"")))
G5G5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,8,1))*(raw!$DN$2:$DN$1001<=DATE(2019,8,31)),"")))
H5H5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,9,1))*(raw!$DN$2:$DN$1001<=DATE(2019,9,30)),"")))
I5I5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,10,1))*(raw!$DN$2:$DN$1001<=DATE(2019,10,31)),"")))
J5J5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,11,1))*(raw!$DN$2:$DN$1001<=DATE(2019,11,3)),"")))
K5K5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2019,12,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
L5L5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,1,31)),"")))
M5M5=COUNTA(UNIQUE(FILTER(raw!$DD$2:$DD$1001,(raw!$DN$2:$DN$1001>=DATE(2020,2,1))*(raw!$DN$2:$DN$1001<=DATE(2020,2,29)),"")))
F6F6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,7,1))*(raw!$DN$2:$DN$1001<=DATE(2019,7,31)),"")))
G6G6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,8,1))*(raw!$DN$2:$DN$1001<=DATE(2019,8,31)),"")))
H6H6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,9,1))*(raw!$DN$2:$DN$1001<=DATE(2019,9,30)),"")))
I6I6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,10,1))*(raw!$DN$2:$DN$1001<=DATE(2019,10,31)),"")))
J6J6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,11,1))*(raw!$DN$2:$DN$1001<=DATE(2019,11,30)),"")))
K6K6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2019,12,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
L6L6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,1,31)),"")))
M6M6=COUNTA(UNIQUE(FILTER(raw!$DG$2:$DG$1001,(raw!$DN$2:$DN$1001>=DATE(2020,2,1))*(raw!$DN$2:$DN$1001<=DATE(2020,2,29)),"")))
F7F7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,7,1))*(raw!$DN$2:$DN$1001<=DATE(2019,7,31)),"")))
G7G7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,8,1))*(raw!$DN$2:$DN$1001<=DATE(2019,8,31)),"")))
H7H7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,9,1))*(raw!$DN$2:$DN$1001<=DATE(2019,9,30)),"")))
I7I7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,10,1))*(raw!$DN$2:$DN$1001<=DATE(2019,10,31)),"")))
J7J7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,11,1))*(raw!$DN$2:$DN$1001<=DATE(2019,11,30)),"")))
K7K7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2019,12,1))*(raw!$DN$2:$DN$1001<=DATE(2019,12,31)),"")))
L7L7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2020,1,1))*(raw!$DN$2:$DN$1001<=DATE(2020,1,31)),"")))
M7M7=COUNTA(UNIQUE(FILTER(raw!$DH$2:$DH$1001,(raw!$DN$2:$DN$1001>=DATE(2020,2,1))*(raw!$DN$2:$DN$1001<=DATE(2020,2,29)),"")))
F8F8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G8G8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H8H8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I8I8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J8J8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K8K8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L8L8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M8M8=SUMIFS(raw!$DJ$2:$DJ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F9F9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G9G9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H9H9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I9I9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J9J9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K9K9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L9L9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M9M9=SUMIFS(raw!$DK$2:$DK$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F11F11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G11G11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H11H11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I11I11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J11J11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K11K11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L11L11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M11M11=SUMIFS(raw!$DP$2:$DP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F12F12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G12G12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H12H12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I12I12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J12J12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K12K12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L12L12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M12M12=SUMIFS(raw!$DQ$2:$DQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F13F13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G13G13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H13H13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I13I13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J13J13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K13K13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L13L13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M13M13=SUMIFS(raw!$DR$2:$DR$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F14F14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G14G14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H14H14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I14I14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J14J14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K14K14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L14L14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M14M14=SUMIFS(raw!$DS$2:$DS$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F16F16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G16G16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H16H16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I16I16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J16J16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K16K16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L16L16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M16M16=SUMIFS(raw!$BP$2:$BP$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F17F17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G17G17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H17H17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I17I17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J17J17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K17K17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L17L17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M17M17=SUMIFS(raw!$BQ$2:$BQ$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F18F18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G18G18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H18H18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I18I18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J18J18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K18K18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L18L18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M18M18=SUMIFS(raw!$CE$2:$CE$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
F19F19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("7/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("7/31/2019"))
G19G19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("8/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("8/31/2019"))
H19H19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("9/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("9/30/2019"))
I19I19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("10/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("10/31/2019"))
J19J19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("11/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("11/30/2019"))
K19K19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("12/1/2019"),raw!$DN$2:$DN$980,"<"&DATEVALUE("12/31/2019"))
L19L19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("1/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("1/31/2020"))
M19M19=SUMIFS(raw!$CF$2:$CF$980,raw!$DN$2:$DN$980,">"&DATEVALUE("2/1/2020"),raw!$DN$2:$DN$980,"<"&DATEVALUE("2/29/2020"))
A122:A145A122=FILTER(raw!DD2:DD1000,raw!CZ2:CZ1000>=LARGE(raw!CZ2:CZ1000,20))
Dynamic array formulas.
 
Upvote 0
OK, a bit tricky to use that since
- the formula in question uses column CZ from 'raw' but there was no sample data provided for that column
- the formula is trying to extract 20 values but there are only 16 in total
- you wanted to extract for 2020 but no dates are in 2020
- lots of irrelevant columns/rows were included (you can hide irrelevant columns/rows before generating the XL2BB data)

In any case you could try these.

To extract for 2020
Excel Formula:
=FILTER(raw!DD2:DD1000,(raw!CZ2:CZ1000>=LARGE(raw!CZ2:CZ1000,20))*(YEAR(raw!DN2:DN1000)=2020))

To extract between (& including) two given dates (say 4 Jul 2019 and 15 Jul 2019)
Excel Formula:
=FILTER(raw!DD2:DD1000,(raw!CZ2:CZ1000>=LARGE(raw!CZ2:CZ1000,20))*(raw!DN2:DN1000>=DATE(2019,7,4))*(raw!DN2:DN1000<=DATE(2019,7,15)))
or put those two dates in, say, A199 and A120 and then use
Excel Formula:
=FILTER(raw!DD2:DD1000,(raw!CZ2:CZ1000>=LARGE(raw!CZ2:CZ1000,20))*(raw!DN2:DN1000>=A119)*(raw!DN2:DN1000<=A120))
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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