One sheet A, I want to sum a range from sheet B only if between a date range also on sheet B

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 not sure about using Countifs, it's the only one I could find that performs in the way I want.

COUNTIFS(Clips!M2:Clips!M560,">"&"12/1/2020",Clips!B2:Clips!B560,"<"&"12/30/2020")

I don't know how to include an example.

Thank you in advance for your help with this.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
i changed my dates to UK
=COUNTIFS(Clips!M1:M558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")
works
 
Upvote 0
Book2
ABCDEFGHIJKLMN
112/1/2012/30/20
212/2/2012/29/20
312/3/2012/28/20
412/4/2012/27/20
512/5/2012/26/20
612/6/2012/25/20
712/7/2012/24/20
812/8/2012/23/20
912/9/2012/22/20
1012/10/2012/21/20
1112/11/2012/20/20
1212/12/2012/19/20
1312/13/2012/18/20
1412/14/2012/17/20
1512/15/2012/16/20
1612/16/2012/15/20
1712/17/2012/14/20
1812/18/2012/13/20
1912/19/2012/12/20
2012/20/2012/11/20
2112/21/2012/10/20
2212/22/2012/9/20
2312/8/20
24
25
Clips


AND

Book2
AB
122
2
Sheet1
Cell Formulas
RangeFormula
A1A1=COUNTIFS(Clips!M1:M558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")
 
Upvote 0
Hi Etaf, still not working form me. In column M are listed numbers that I would like to sum (or count) only if they fall between two dates in the B column. I have copied your formula but not able to make it work.
 
Upvote 0
i changed my dates to UK
=COUNTIFS(Clips!M1:M558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")
works
What are UK dates? I formatted my date column to m/d/yyyy Are UK dates different than this? Should I change the format the column from dates to general?
 
Upvote 0
What are UK dates? I formatted my date column to m/d/yyyy Are UK dates different than this? Should I change the format the column from dates to general?
Okay found the reference and changed from English to United Kingdom and still not working.
 
Upvote 0
Sorry , I misunderstood
A SUM of the values in column M - will be different to counting how many ROWS

Count dates in B that match
=COUNTIFS(Clips!B1:B558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")

SUM VALUES IN M

=SUMIFS(Clips!M1:M558,Clips!B1:B558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")
BUT whats in column M?

Need to see an example

UK dates are usually DD/MM/YY
and NOT the US style of DD/MM/YY

and excel depending on settings will see " DD/MM/YY"
differently , at least thats what I have found when using in formula like that

Are you in UK ?
COUNTIFS(Clips!M2:Clips!M560,">"&"12/1/2020",Clips!B2:Clips!B560,"<"&"12/30/2020")
is using the MM/DD/YYYY format, BUT as its in "" it assumes the system setting and IF NOT that format , then I think it will error

IF UK
change the date values in the ""
 
Upvote 0
Here is the XL2BB Clip of Sheet A

2019-22 Media Clips v03.xlsx
DEFGHIJKLMNOPQRSTUVW
1SEA TOW FOUNDATION MEDIA CLIPSJul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21
2SUMMARY
3187 Headlines
4Distributed by 177 Outlets
5Across 140 Cities
6and 34 States
7Produced a combined total of 106,365,110 Circulation, Impressions, and Event Attendees
8With a total of $6,156,197 in Media Value
9Consisting of 77 Print 278 and Web Headlines, and attendees to 0 Events that have seen our boating safety messages and break down to
102,610,214 Print Circulation
11$142,030 Print Value
12103,754,896 Web Impressions
13$6,014,167 Web Value
140 Event Attendees
15
16DETAILS / TOPICS
171 General Mention of Sea Tow Foundation
180 Mentions Covid19
190 Mentions Sea Ray Boats
200 Mentions MarineMax
210 Mentions Bonnier Corp
220 Mentions Yamaha Outboard
230 Mentions Miami Boat Show
240 Mentions National Safe Boating Week
250 Mentions Summer of Boating Safely 1
260 Mentions Beacons
278 Mentions Life Jacket Loaner Program SUMIFS(mc!m2:mc!H26,mc!bc2:mc!bc561,">=11/1/2020",mc!bc2:mc!bc561,"<=11/30/2020")00
2855,927 Life Jacket Impressions
29Life Jacket Valued at $1,462
300 Mentions Life Jacket Loaner Data Base
310 Mentions Sober Skipper Program
320 Sober Skipper Impressions
33Sober Skipper Mentions Valued at $0
340 Mentions Sober Skipper Awards
350 Mentions Flare Disposal Program
360 Flare Disposal Impressions
37Flare Disposal Valued at $0
380 Mentions Social Distancing
390 CPR Generated
400 WKS Generated
410 Friends where media was distributed
424 Mentions Sea Tow Locations
431 Mentions Sea Care
443 Mentions US Coast Guard
451 Mentions State of New Hampshire
460 Mentions Kicker Audio
470 Mentions MRAA Dealer Week
48
49TOP DISTRIBUTING OUTLETS
50name
51name
52name
53name
54name
55name
56name
57name
58name
59name
Dashboard
Cell Formulas
RangeFormula
D3D3=MC!AU1
D4D4=MC!AV1
D5D5=MC!AY1
D6D6=MC!AZ1
D7D7=MC!BB1
D8D8=MC!BC1
D9D9=MC!BD1
D10D10=MC!BH1
D11D11=MC!BI1
D12D12=MC!BJ1
D13D13=MC!BK1
D14D14=MC!BL1
V25V25=MC!M2
U27U27=COUNTIFS(MC!M2:MC!M560,">"&"11/1/2020",MC!BF2:MC!BF560,","&"11"/30/2020)
V27V27=COUNTIFS(MC!M2:MC!M561,">="&"12/1/2020",MC!BF2:MC!BF561,"<="&"12/30/2020")
D17D17=MC!A1
D18D18=MC!C1
D19D19=MC!D1
D20D20=MC!E1
D21D21=MC!F1
D22D22=MC!G1
D23D23=MC!H1
D24D24=MC!J1
D25D25=MC!K1
D26D26=MC!L1
D27D27=MC!M1
D28D28=MC!N1
D29D29=MC!O1
D30D30=MC!Q1
D31D31=MC!S1
D32D32=MC!T1
D33D33=MC!U1
D34D34=MC!V1
D35D35=MC!W1
D36D36=MC!X1
D37D37=MC!Y1
D38D38=MC!Z1
D39D39=MC!AA1
D40D40=MC!AB1
D41D41=MC!AC1
D42D42=MC!AE1
D43D43=MC!AF1
D44D44=MC!AG1
D45D45=MC!AH1
D46D46=MC!AI1
D47D47=MC!AJ1
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
MC!_FilterDatabase=MC!$A$1:$BK$1D17
 
Upvote 0
Here is the XL2BB Clip of Sheet A

2019-22 Media Clips v03.xlsx
DEFGHIJKLMNOPQRSTUVW
1SEA TOW FOUNDATION MEDIA CLIPSJul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21
2SUMMARY
3187 Headlines
4Distributed by 177 Outlets
5Across 140 Cities
6and 34 States
7Produced a combined total of 106,365,110 Circulation, Impressions, and Event Attendees
8With a total of $6,156,197 in Media Value
9Consisting of 77 Print 278 and Web Headlines, and attendees to 0 Events that have seen our boating safety messages and break down to
102,610,214 Print Circulation
11$142,030 Print Value
12103,754,896 Web Impressions
13$6,014,167 Web Value
140 Event Attendees
15
16DETAILS / TOPICS
171 General Mention of Sea Tow Foundation
180 Mentions Covid19
190 Mentions Sea Ray Boats
200 Mentions MarineMax
210 Mentions Bonnier Corp
220 Mentions Yamaha Outboard
230 Mentions Miami Boat Show
240 Mentions National Safe Boating Week
250 Mentions Summer of Boating Safely 1
260 Mentions Beacons
278 Mentions Life Jacket Loaner Program SUMIFS(mc!m2:mc!H26,mc!bc2:mc!bc561,">=11/1/2020",mc!bc2:mc!bc561,"<=11/30/2020")00
2855,927 Life Jacket Impressions
29Life Jacket Valued at $1,462
300 Mentions Life Jacket Loaner Data Base
310 Mentions Sober Skipper Program
320 Sober Skipper Impressions
33Sober Skipper Mentions Valued at $0
340 Mentions Sober Skipper Awards
350 Mentions Flare Disposal Program
360 Flare Disposal Impressions
37Flare Disposal Valued at $0
380 Mentions Social Distancing
390 CPR Generated
400 WKS Generated
410 Friends where media was distributed
424 Mentions Sea Tow Locations
431 Mentions Sea Care
443 Mentions US Coast Guard
451 Mentions State of New Hampshire
460 Mentions Kicker Audio
470 Mentions MRAA Dealer Week
48
49TOP DISTRIBUTING OUTLETS
50name
51name
52name
53name
54name
55name
56name
57name
58name
59name
Dashboard
Cell Formulas
RangeFormula
D3D3=MC!AU1
D4D4=MC!AV1
D5D5=MC!AY1
D6D6=MC!AZ1
D7D7=MC!BB1
D8D8=MC!BC1
D9D9=MC!BD1
D10D10=MC!BH1
D11D11=MC!BI1
D12D12=MC!BJ1
D13D13=MC!BK1
D14D14=MC!BL1
V25V25=MC!M2
U27U27=COUNTIFS(MC!M2:MC!M560,">"&"11/1/2020",MC!BF2:MC!BF560,","&"11"/30/2020)
V27V27=COUNTIFS(MC!M2:MC!M561,">="&"12/1/2020",MC!BF2:MC!BF561,"<="&"12/30/2020")
D17D17=MC!A1
D18D18=MC!C1
D19D19=MC!D1
D20D20=MC!E1
D21D21=MC!F1
D22D22=MC!G1
D23D23=MC!H1
D24D24=MC!J1
D25D25=MC!K1
D26D26=MC!L1
D27D27=MC!M1
D28D28=MC!N1
D29D29=MC!O1
D30D30=MC!Q1
D31D31=MC!S1
D32D32=MC!T1
D33D33=MC!U1
D34D34=MC!V1
D35D35=MC!W1
D36D36=MC!X1
D37D37=MC!Y1
D38D38=MC!Z1
D39D39=MC!AA1
D40D40=MC!AB1
D41D41=MC!AC1
D42D42=MC!AE1
D43D43=MC!AF1
D44D44=MC!AG1
D45D45=MC!AH1
D46D46=MC!AI1
D47D47=MC!AJ1
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
MC!_FilterDatabase=MC!$A$1:$BK$1D17

Here is the XL2BB Clip of Sheet B
2019-22 Media Clips v03.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBF
11 General Mention of Sea Tow Foundation?0 Mentions Covid19 0 Mentions Sea Ray Boats 0 Mentions MarineMax 0 Mentions Bonnier Corp 0 Mentions Yamaha Outboard 0 Mentions Miami Boat Show0 Mentions Freedom Boat Club0 Mentions National Safe Boating Week 0 Mentions Summer of Boating Safely 0 Mentions Beacons 8 Mentions Life Jacket Loaner Program 55,927 Life Jacket ImpressionsLife Jacket Valued at $1,4624 Mentions Life Jacket Loaner Grant 0 Mentions Life Jacket Loaner Data Base 1 Mentions Hero Award 0 Mentions Sober Skipper Program0 Sober Skipper ImpressionsSober Skipper Mentions Valued at $00 Mentions Sober Skipper Awards0 Mentions Flare Disposal Program0 Flare Disposal ImpressionsFlare Disposal Valued at $00 Mentions Social Distancing0 CPR Generated0 WKS Generated0 Friends where media was distributedSaved a copy4 Mentions Sea Tow Locations1 Mentions Sea Care3 Mentions US Coast Guard1 Mentions State of New Hampshire0 Mentions Kicker Audio0 Mentions MRAA Dealer Week#REF!#REF!0 articles and0 Freedom Boat Club Locations where media was distributed0 ImpressionsValued at $0#REF!#REF!0 Not STF10 Article SavedBurrelles Luce #187 HeadlinesDistributed by 177 OutletsAcross 1 Direct Media AreasDma RankAcross 140 Citiesand 34 Statesand 1 CountriesProduced a combined total of 106,365,110 Circulation, Impressions, and Event AttendeesWith a total of $6,156,197 in Media ValueConsisting of 77 Print 278 and Web Headlines, and attendees to 0 Events that have seen our boating safety messages and break down toPublished DatePosted Date
215252132Sea Tow Portland/Midcoast1Sea Tow Portland/Midcoast co-owners honored as 'Champions'Boothbay Register (The)N/AN/ABOOTHBAY HARBORMEUSA5,252$132 - Web12-03-202007/12/2020
31340362Sea Tow Southcentral Alaska1Capt. Trey and Alyssa Hill win Sea Tow best franchise awardHomer NewsN/AN/AHOMERAKUSA340$362 - Web12-03-202003/12/2020
4100STSI11Sea Care by Sea Tow® Offers Service After the Sale SOUNDINGS (TRADE ONLY)N/AN/AESSEXCTUSA27,272$2,718 - Print12-01-202003/12/2020
5125400217111Grants Available for Life Jacket Loaner Stations CARRIAGE TOWNE NEWSN/A9KINGSTONNHUSA25,400$217 - Print11-26-202001/12/2020
6001Sea Tow Venice1Sea Tow International Presents Annual Awards - Trade Only TodaySoundings: Trade OnlyN/AN/AESSEXCTUSA3,034$11 - Web11-23-202024/11/2020
71850037411Sea Tow Accepting Applications For Life Jacket Loaner ProgramMarina Dock AgeN/AN/ANILESILUSA8,500$374 - Web11-13-202016/11/2020
8133722711Sea Tow Foundation Accepting Applications for Life Jacket Loaner StationsFishing Wire (The)N/AN/AGLEN ALLENVAUSA3,372$27 - Web11-13-202016/11/2020
91396537111Sea Tow Foundation accepting Life Jacket Loaner Station applications - Boating IndustryBoating Industry OnlineN/AN/AMAPLE GROVEMNUSA3,965$37 - Web11-12-202016/11/2020
101469828111Life Jacket Loaner Station Program is Expanding - Trade Only TodaySoundings: Trade OnlyN/AN/AESSEXCTUSA4,698$28 - Web11-12-202016/11/2020
11001PEOPLE & BUSINESSNORTHERN FORECASTERN/A79FALMOUTHMEUSA20,000$651 - Print11-05-202013/11/2020
12144002851Rick and Nancy Ellet win Karl Martin Award SMITH MOUNTAIN EAGLEN/A69MONETAVAUSA4,400$285 - Print10-07-202026/10/2020
1300Suggestions for boaters age 50 and up NEWS-PRESSN/A53FORT MYERSFLUSA33,417$1,140 - Print10-22-202023/10/2020
14Coast Guard rescues 6 near Sunshine Skyway TAMPA BAY TIMESN/A12TAMPAFLUSA240,024$2,210 - Print10-19-202019/10/2020
1500SMLA recaps the year in new online format ROANOKE TIMESN/A69ROANOKEVAUSA29,484$1,233 - Print10-07-202009/10/2020
1600Sea Tow Foundation announces deadline for National Boating Industry Safety Awards - Boating IndustryBoating Industry OnlineN/AN/AMAPLE GROVEMNUSA3,965$37 - Web10-06-202007/10/2020
17Sea Tow Foundation Announces Oct. 15 Deadline for National Boating Industry Safety AwardsFishing Wire (The)N/AN/AGLEN ALLENVAUSA3,372$29 - Web10-06-202007/10/2020
18Sea Tow Foundation Announces Deadline for National Boating Industry Safety AwardsOutdoor Wire (The)N/AN/AGLEN ALLENVAUSA60$563 - Web10-06-202007/10/2020
19SCUTTLELAKELAND BOATINGN/AN/AEVANSTONILUSA42,096$3,762 - Print10-01-202006/10/2020
20Sea Tow Naples owner reflects on decade of businessFlorida WeeklyN/AN/AFORT MYERSFLUSA8,097$53 - Web10-02-202005/10/2020
21BUSINESS BUZZ SARASOTA HERALD-TRIBUNEN/A12SARASOTAFLUSA32,003$1,637 - Print10-01-202005/10/2020
22Sea Tow Foundation building database for life jacket stations THE LOG (SOUTHERN CALIFORNIA EDITION)N/AN/ASAN DIEGOCAUSA40,000$301 - Print09-03-202028/09/2020
23Social Distancing Leads to Spikes in Boating ActivityMy Mother LodeN/AN/ASONORACAUSA17,485$536 - Web09-24-202028/09/2020
24Social Distancing Leads to Spikes in Boating ActivityWRAL-TV Channel 5N/AN/ARALEIGHNCUSA1,047,024$30,437 - Web09-24-202028/09/2020
25Social Distancing Leads to Spikes in Boating ActivityAntlers American (The)N/AN/AANTLERSOKUSA1,000$82 - Web09-24-202028/09/2020
26Social Distancing Leads to Spikes in Boating ActivityMinyanvilleN/AN/ANEW YORKNYUSA2,622$23 - Web09-24-202028/09/2020
27Social Distancing Leads to Spikes in Boating ActivityWapakoneta Daily NewsN/AN/AWAPAKONETAOHUSA2,009$12 - Web09-24-202028/09/2020
28Social Distancing Leads to Spikes in Boating ActivityTownhall.comN/AN/AWASHINGTONDCUSA575,843$8,685 - Web09-24-202028/09/2020
29Social Distancing Leads to Spikes in Boating ActivityInternational Business TimesN/AN/ANEW YORKNYUSA1,118,055$15,201 - Web09-24-202028/09/2020
30Social Distancing Leads to Spikes in Boating ActivityStreetInsider.comN/AN/ABIRMINGHAMMIUSA95,198$1,387 - Web09-24-202028/09/2020
31Social Distancing Leads to Spikes in Boating ActivityBorger News-HeraldN/AN/ABORGERTXUSA255$460 - Web09-24-202028/09/2020
32Social Distancing Leads to Spikes in Boating ActivitySan Diego Union TribuneN/AN/ASAN DIEGOCAUSA756,386$6,796 - Web09-24-202028/09/2020
33Social Distancing Leads to Spikes in Boating ActivityMorning NewsN/AN/ABLACKFOOTIDUSA2,315$12 - Web09-24-202028/09/2020
34Social Distancing Leads to Spikes in Boating ActivityInyo RegisterN/AN/ABISHOPCAUSA2,677$12 - Web09-24-202028/09/2020
35Social Distancing Leads to Spikes in Boating ActivityMarketplaceN/AN/ALOS ANGELESCAUSA512,399$3,998 - Web09-24-202028/09/2020
MC
Cell Formulas
RangeFormula
A1A1=CONCATENATE(SUM(A2:A182), " General Mention of Sea Tow Foundation")
C1C1=CONCATENATE(SUM(C2:C182), " Mentions Covid19 ")
D1D1=CONCATENATE(SUM(D2:D182), " Mentions Sea Ray Boats ")
E1E1=CONCATENATE(SUM(E2:E182), " Mentions MarineMax ")
F1F1=CONCATENATE(SUM(F2:F182), " Mentions Bonnier Corp ")
G1G1=CONCATENATE(SUM(G2:G182), " Mentions Yamaha Outboard ")
H1H1=CONCATENATE(SUM(H2:H182), " Mentions Miami Boat Show")
I1I1=CONCATENATE(SUM(I2:I182), " Mentions Freedom Boat Club")
J1J1=CONCATENATE(SUM(J2:J182), " Mentions National Safe Boating Week ")
K1K1=CONCATENATE(SUM(K2:K182), " Mentions Summer of Boating Safely ")
L1L1=CONCATENATE(SUM(L2:L182), " Mentions Beacons ")
M1M1=CONCATENATE(SUM(M2:M182), " Mentions Life Jacket Loaner Program ")
N1N1=CONCATENATE(TEXT(SUM(N2:N146),"#,##0")," Life Jacket Impressions")
O1O1=CONCATENATE("Life Jacket Valued at $",TEXT(SUM(O2:O205),"#,##0"))
P1P1=CONCATENATE(SUM(P2:P182), " Mentions Life Jacket Loaner Grant ")
Q1Q1=CONCATENATE(SUM(Q2:Q182), " Mentions Life Jacket Loaner Data Base ")
R1R1=CONCATENATE(SUM(R2:R182), " Mentions Hero Award ")
S1S1=CONCATENATE(SUM(S2:S182), " Mentions Sober Skipper Program")
T1T1=CONCATENATE(TEXT(SUM(T2:T146),"#,##0")," Sober Skipper Impressions")
U1U1=CONCATENATE("Sober Skipper Mentions Valued at $",TEXT(SUM(U2:U205),"#,##0"))
V1V1=CONCATENATE(SUM(V2:V182), " Mentions Sober Skipper Awards")
W1W1=CONCATENATE(SUM(W2:W182), " Mentions Flare Disposal Program")
X1X1=CONCATENATE(TEXT(SUM(X2:X146),"#,##0")," Flare Disposal Impressions")
Y1Y1=CONCATENATE("Flare Disposal Valued at $",TEXT(SUM(Y2:Y205),"#,##0"))
Z1Z1=CONCATENATE(SUM(Z2:Z182), " Mentions Social Distancing")
AA1AA1=CONCATENATE(SUM(AA2:AA182), " CPR Generated")
AB1AB1=CONCATENATE(SUM(AB2:AB182), " WKS Generated")
AC1AC1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(AC2:AC146)>0,MATCH(AC2:AC146,AC2:AC146,0),""),IF(LEN(AC2:AC146)>0,MATCH(AC2:AC146,AC2:AC146,0),""))>0,1))," Friends where media was distributed")
AE1AE1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(AE2:AE146)>0,MATCH(AE2:AE146,AE2:AE146,0),""),IF(LEN(AE2:AE146)>0,MATCH(AE2:AE146,AE2:AE146,0),""))>0,1))," Mentions Sea Tow Locations")
AF1AF1=CONCATENATE(SUM(AF2:AF182)," Mentions Sea Care")
AG1AG1=CONCATENATE(SUM(AG2:AG182)," Mentions US Coast Guard")
AH1AH1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(AH2:AH146)>0,MATCH(AH2:AH146,AH2:AH146,0),""),IF(LEN(AH2:AH146)>0,MATCH(AH2:AH146,AH2:AH146,0),""))>0,1))," Mentions State of New Hampshire")
AI1AI1=CONCATENATE(SUM(AI2:AI182)," Mentions Kicker Audio")
AJ1AJ1=CONCATENATE(SUM(AJ2:AJ182)," Mentions MRAA Dealer Week")
AK1AK1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""),IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""))>0,1))," America's Boating Clubs located where Media was Distributed")
AL1AL1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""),IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""))>0,1))," Boat Shows and Events located where Media was Distributed")
AM1AM1=CONCATENATE(SUM(AM2:AM205)," articles and",SUM(IF(FREQUENCY(IF(LEN(AM2:AM146)>0,MATCH(AM2:AM146,AM2:AM146,0),""),IF(LEN(AM2:AM146)>0,MATCH(AM2:AM146,AM2:AM146,0),""))>0,1))," Freedom Boat Club Locations where media was distributed")
AN1AN1=CONCATENATE(TEXT(SUM(AN2:AN146),"#,##0")," Impressions")
AO1AO1=CONCATENATE("Valued at $",TEXT(SUM(AO2:AO205),"#,##0"))
AP1AP1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""),IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""))>0,1))," Scout Groups located where Media was Distributed")
AQ1AQ1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""),IF(LEN(#REF!)>0,MATCH(#REF!,#REF!,0),""))>0,1))," US Coast Guard Flotilla Aux located where Media was Distributed")
AR1AR1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(AR2:AR146)>0,MATCH(AR2:AR146,AR2:AR146,0),""),IF(LEN(AR2:AR146)>0,MATCH(AR2:AR146,AR2:AR146,0),""))>0,1))," Not STF")
AS1AS1=CONCATENATE(SUM(AS2:AS422)," Article Saved")
AU1AU1=CONCATENATE(SUM(IF(FREQUENCY(IF(LEN(AU2:AU505)>0,MATCH(AU2:AU505,AU2:AU505,0),""),IF(LEN(AU2:AU505)>0,MATCH(AU2:AU505,AU2:AU505,0),""))>0,1))," Headlines")
AV1AV1=CONCATENATE("Distributed by ",SUM(IF(FREQUENCY(IF(LEN(AV2:AV505)>0,MATCH(AV2:AV505,AV2:AV505,0),""),IF(LEN(AV2:AV505)>0,MATCH(AV2:AV505,AV2:AV505,0),""))>0,1))," Outlets")
AW1AW1=CONCATENATE("Across ",SUM(IF(FREQUENCY(IF(LEN(AW2:AW505)>0,MATCH(AW2:AW505,AW2:AW505,0),""),IF(LEN(AW2:AW505)>0,MATCH(AW2:AW505,AW2:AW505,0),""))>0,1))," Direct Media Areas")
AY1AY1=CONCATENATE("Across ",SUM(IF(FREQUENCY(IF(LEN(AY2:AY505)>0,MATCH(AY2:AY505,AY2:AY505,0),""),IF(LEN(AY2:AY505)>0,MATCH(AY2:AY505,AY2:AY505,0),""))>0,1))," Cities")
AZ1AZ1=CONCATENATE("and ",SUM(IF(FREQUENCY(IF(LEN(AZ2:AZ505)>0,MATCH(AZ2:AZ505,AZ2:AZ505,0),""),IF(LEN(AZ2:AZ505)>0,MATCH(AZ2:AZ505,AZ2:AZ505,0),""))>0,1))," States")
BA1BA1=CONCATENATE("and ",SUM(IF(FREQUENCY(IF(LEN(BA2:BA505)>0,MATCH(BA2:BA505,BA2:BA505,0),""),IF(LEN(BA2:BA505)>0,MATCH(BA2:BA505,BA2:BA505,0),""))>0,1))," Countries")
BB1BB1=CONCATENATE("Produced a combined total of ",TEXT(SUM(BB2:BB505),"#,##0")," Circulation, Impressions, and Event Attendees")
BC1BC1=CONCATENATE("With a total of $",TEXT(SUM(BC2:BC505),"#,##0")," in Media Value")
BD1BD1=CONCATENATE("Consisting of ",COUNTIF(BD2:BD505,"*Print*")," Print ",COUNTIF(BD2:BD505,"*Web*")," and Web Headlines, and attendees to ",COUNTIF(BD2:BD505,"*Event*")," Events"," that have seen our boating safety messages and break down to")
N2:N13N2=IF(M2=1,BB2,"0")
O2:O13O2=IF(M2=1,BC2,"0")
N15:N16N15=IF(M15=1,#REF!,"0")
O15:O16O15=IF(M15=1,#REF!,"0")
Press CTRL+SHIFT+ENTER to enter array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AT:ATCell ValueduplicatestextNO
 
Upvote 0
Sorry , I misunderstood
A SUM of the values in column M - will be different to counting how many ROWS

Count dates in B that match
=COUNTIFS(Clips!B1:B558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")

SUM VALUES IN M

=SUMIFS(Clips!M1:M558,Clips!B1:B558,">"&"1/12/2020",Clips!B1:B558,"<"&"30/12/2020")
BUT whats in column M?

Need to see an example

UK dates are usually DD/MM/YY
and NOT the US style of DD/MM/YY

and excel depending on settings will see " DD/MM/YY"
differently , at least thats what I have found when using in formula like that

Are you in UK ?
COUNTIFS(Clips!M2:Clips!M560,">"&"12/1/2020",Clips!B2:Clips!B560,"<"&"12/30/2020")
is using the MM/DD/YYYY format, BUT as its in "" it assumes the system setting and IF NOT that format , then I think it will error

IF UK
change the date values in the ""

I changed the dates back to English United States and Countifs to Sumifs and still not working.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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