-
WSAladin Akyurek
AskWoody LoungerRicky,
In C3 enter:
=B3+IF(1<WEEKDAY(B3),7-WEEKDAY(B3)+1,1-WEEKDAY(B3))
In C4 enter and copy down:
=C3+7
In D3 enter:
=DATE(YEAR(B3),MONTH(B3)+1,0) [ or: =EOMONTH(B3,0), which requires the Analysis Toolpak add-in ]
In D4 enter and copy down:
=IF(COUNTIF(B:B,D3+1),DATE(YEAR(D3+1),MONTH(D3+1)+1,0),"")
I created an additional sheet, named Admin, in order to define named dynamic ranges:
(a) DATES, which refers to:
=OFFSET(Dates!$B$1,0,0,DateRecs,1)
(
SUNDAYS, which refers to:
=OFFSET(Dates!$C$1,0,0,SundayRecs,1)
© MONTHENDS, which refers to:
=OFFSET(Dates!$D$1,0,0,MonthEndRecs,1)
where DateRecs is computed in B1 in Admin with
=MATCH(9.99999999999999E+307,Dates!B:
-(CELL("row",Dates!B3)-1)
SundayRecs in B2 with
=B1
and MonthEndRecs in B3 with
=MATCH(9.99999999999999E+307,Dates!D:D)-(CELL("row",Dates!D3)-1)
You can use SUNDAYS and MONTHENDS as source for the list boxes that you want to set up.
Aladin
-
WSAladin Akyurek
AskWoody LoungerTry:
=SUMPRODUCT((COUNTIF(B6:B12,”*w*”)))
or
=SUMPRODUCT((COUNTIF($B$6:$B$12,”*”&A1&”*”)))
where A1 houses just the target letter (e.g., “w” without double quotes)
-
WSAladin Akyurek
AskWoody LoungerAn option is not to use the Conditional Sum Wizard. Instead, try to devise the required formulas yourself directly where they are needed.
-
WSAladin Akyurek
AskWoody Lounger=IF(COUNTIF($A$2:$A$1217,C2),”VALID”,”delete”)
should be a bit more efficient.
-
WSAladin Akyurek
AskWoody LoungerAlso
=SUMPRODUCT(ISNUMBER(SEARCH(“200108”,A3:A34))*ISNUMBER(SEARCH(“Test”,B3:B34)))
will produce the desire count.
-
WSAladin Akyurek
AskWoody Lounger=(C20=”TOIL”)*(SUM(C9,C12,C15,C18))+(C20=”OTP”)*(SUM(P27,-C21))
Is this what you’re looking for?
-
WSAladin Akyurek
AskWoody LoungerUse:
=”‘”&MCONCAT(A1:A50,”‘,'”)&”‘”
MCONCAT is a function (among many others) available in Longre’s Morefunc add-in, which is downloadable from:
-
WSAladin Akyurek
AskWoody LoungerUse a different formula that returns #N/A instead of a 0 or “” like in:
=IF(A1,do-this,#N/A)
Aladin
-
WSAladin Akyurek
AskWoody Loungera bit “eigenartig” (closest English translation = ornery)
I believe the translation is ‘peculiar’.
Aladin
-
WSAladin Akyurek
AskWoody LoungerYour “Team” column has not the same underlying format as your “Testing ADU” column.
You can see that by using in G19:
{=SUM(IF((ADadu=A18&””)*(ADvic=B19)*(ADstatus=G11),1,0))}
You can either re-create your “Team” column which you format as text before entering anything, or you use the above formula or its equivalent which you don’t need entering with control+shift+enter:
=SUMPRODUCT((ADadu=A18&””)*(ADvic=B19)*(ADstatus=G11))
After repairing the “Team” column, you can remove the &”” bit.
Aladin
-
WSAladin Akyurek
AskWoody LoungerI believe you confounded me with the original poster (OP).
It’s of course a good idea if that’s what the OP wants.
Aladin
-
WSAladin Akyurek
AskWoody LoungerIf that’s what is wanted, a COUNTIF formula would suffice:
=IF(COUNTIF(A1:A13,A14),”Yes”,”No”)
or just
=COUNTIF(A1:A13,A4)
where the cell of the formula can be custom formatted as:
[=0]”No”;”Yes”
Aladin
-
WSAladin Akyurek
AskWoody LoungerIt seems that you want to check whether a given entry occurs more than once in exactly the same shape. If so,
in A2 enter and copy down:
=SUMPRODUCT((EXACT($A$2:$A$10,A2))+0)
-
WSAladin Akyurek
AskWoody LoungerI’d suggest a different route, which avoids using array-formulas.
First create dynamic name ranges in theWorkbook2.xls reagrding the ranges in F and G.
theWorkbook2.xls:
Change the name Sheet1 to Data.
Activate Insert|Name|Define.
Enter NumRecs as name in the Names in Workbook box.
Enter as formula in the Refers to box.=MATCH(9.99999999999999E+307,Data!$G:$G)
Activate Add. (Don’t leave yet the Define Name window.)
Enter DataRecs as name in the Names in Workbook box.
Enter as formula in the Refers to box.=NumRecs-(ROW(Data!$G$5)-1)
Activate Add. (Don’t leave yet the Define Name window.)
Enter Grange as name in the Names in Workbook box.
Enter as formula in the Refers to box.=OFFSET(Data!$G$5,0,0,DataRecs,1)
Activate Add. (Don’t leave yet the Define Name window.)
Enter Frange as name in the Names in Workbook box.
Enter as formula in the Refers to box.=OFFSET(Data!$F$5,0,0,DataRecs,1)
Activate OK.
theWorkbook1.xls: (Yes, I mean workbook 1 where you have your original SUMIF formulas).
Rename the worksheet of the original SUMIF formulas as Summary.
In A from A2 on enter the conditions/criteria for which you want to compute the totals using data from
theWorkbook2.xls. The first condition to be entered:MAT (in A2)
DAT (in A3)
etc.Back to theWorkbook2.xls:
Insert a worksheet and rename it SumData.
In A2 enter and copy down as far as needed:
=’c:/[theWorkbook1.xls]Summary’!$A2
In B2 enter and copy down as far as needed:
=SUMIF(Frange,A2,Drange)
Back to Summary in theWorkbook1.xls:
In B2 enter and copy down as far as needed:
=’c:/[theWorkbook2.xls]SumData’!$B2
Now you can keep theWorkbook2.xls closed.
Aladin
-
WSAladin Akyurek
AskWoody LoungerIn case of (formula-generated) blanks I’d suggest using:
=SUM(IF(LEN(A1:A5),1/COUNTIF(A1:A5,A1:A5)))
array-entered of course.
The particular use of COUNTIF is an invention of David Hager. Enforcing it with the LEN test originates from my efforts in fighting the formula-generated blanks.
Aladin
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
4 hours, 11 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
5 hours, 17 minutes ago -
0Patch, where to begin
by
cassel23
5 hours, 3 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
18 hours, 55 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
6 hours, 41 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
1 day, 3 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
18 hours, 27 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
5 hours, 35 minutes ago -
Installer program can’t read my registry
by
Peobody
32 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
16 hours, 14 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
23 hours, 35 minutes ago -
False error message from eMClient
by
WSSebastian42
1 day, 14 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 23 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
2 days ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
21 hours, 29 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 days, 4 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
1 day, 5 hours ago -
Outdated Laptop
by
jdamkeene
2 days, 9 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 15 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 14 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
12 hours, 18 minutes ago -
May 2025 updates are out
by
Susan Bradley
3 hours, 14 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 20 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 21 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 20 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
16 hours, 54 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
3 days, 3 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 22 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
3 days, 5 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
3 days, 5 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.