-
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
-
Practice what you preach! A cautionary tale.
by
RetiredGeek
2 hours, 58 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
22 hours, 50 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
9 hours, 10 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
1 day, 7 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
1 day, 19 hours ago -
Problem using exfat drives for backup
by
Danmc
1 day, 19 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
21 hours, 30 minutes ago -
Change Info in the Settings window
by
CWBillow
2 days, 2 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
2 days, 8 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
1 day, 18 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
1 day, 19 hours ago -
WuMgr operational questions
by
Tex265
20 hours, 48 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
2 days, 23 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
2 days ago -
Backing up Google Calendar
by
CWBillow
3 days, 6 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
3 days, 19 hours ago -
File Naming Conventions (including Folders)
by
Magic66
2 days, 17 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
4 days, 2 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
3 days, 13 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
2 days, 19 hours ago -
Adding Microsoft Account.
by
DaveBRenn
4 days, 3 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
5 days, 3 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
5 days, 3 hours ago -
Windows 11 won’t boot
by
goducks25
2 days, 20 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
4 days, 17 hours ago -
Rest in Peace
by
Roy Lasris
5 days, 22 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
2 days, 19 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
5 days, 22 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
2 days, 13 hours ago -
Long Time Member
by
jackpet
6 days, 1 hour 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.