-
WSAladin Akyurek
AskWoody LoungerGiven your intention, wouldn’t
=LOOKUP(MIN(A2+$F$1,100),{0;70;77;80;87;90},{“F”;”C”;”C+”;”B”;”B+”;”A”})
where F1 a small amount for encouragement like 1 and A2 a score, suffice?
-
WSAladin Akyurek
AskWoody LoungerSince you are on Excel 2003, select the data area (including the headers) and run Data|List|Create List. All formulas referring to (parts of) the list will adjust automatically to changes to it.
A tad bit faster multiconditional counting can be effected with:
=SUMPRODUCT(–($A$2:$A$22=1),1-($B$2:$B$22=0))
-
WSAladin Akyurek
AskWoody LoungerHoi Hans,
That’s right.
Closer to the SumProduct formula in behavior:
=COUNTA(Range)-COUNTIF(Range,””)
The error values would also be counted in by the foregoing formula.
However, I just assumeed that only text and numeric values would be of interest.
Aladin
-
WSAladin Akyurek
AskWoody Lounger=COUNT(Range)+COUNTIF(Range,”?*”)
-
WSAladin Akyurek
AskWoody Lounger=IF(N(X25),(SUM(E25:H25)*200000)/X25,””)
-
WSAladin Akyurek
AskWoody LoungerConsider exploiting the Data|List|Create List option that your Excel 2003 comes with.
-
WSAladin Akyurek
AskWoody LoungerSince the OP is on Excel 2003, he can convert B1:D37 into a list by means of Data|List|Create List to obtain automatic formula copying and range adjustment in formulas that reference the list area.
BTW, although not a serious issue here, it would be better to invoke:
=INDEX($B$2:$B$37,MATCH(F1,$D$2:$D$37,1)+(LOOKUP(F1,$D$2:$D$37)F1))
where F1 houses the condition number.
-
WSAladin Akyurek
AskWoody LoungerGiven:
2,3
2,4
4,2
2,3
2,blankwould the result be 4?
-
WSAladin Akyurek
AskWoody LoungerFor excluding blanks, the idiom would be:
=SUM(IF(A1:A200″”,1/COUNTIF(A1:A200,A1:A200)))
followed by control+shift+enter.
-
WSAladin Akyurek
AskWoody Lounger=COUNTIF(Range,”*(RM)*”)
-
WSAladin Akyurek
AskWoody Lounger> The names in brackets could be names or ranges as desired for looking up. They could be dynamic ranges that grow as more items are added…
Since he is on Excel 2003, he can better convert the lookup tables into lists with Data|List|Create List, which makes defining ranges by means of dynamic formulas superfluous.
-
WSAladin Akyurek
AskWoody LoungerVersion 3.9 (the latest at this moment) of the morefunc.xll add-in would allow:
=COUNTDIFF(A1:A100,,””)
which behaves like the SumProduct version vis-a-vis empty cells and formula-blanks.
-
WSAladin Akyurek
AskWoody LoungerJust in case: Your example
=SUMPRODUCT(Qty*(Ship_From=A7)) or {=SUM((Qty*(Ship_From=A7)))}
is not-multi-conditional. A SumIf formula is then more appropriate for it is faster:
=SUMIF(Ship_From,A7,Qty)
-
WSAladin Akyurek
AskWoody LoungerIf you use ISNUMBER instead of ISERROR, you’ll have a more natural evaluation:
=IF(ISNUMBER(VALUE(B7)),B7+0,”Not Number”)
or
=IF(ISNUMBER(B7+0),B7+0,”Not Number”)
-
WSAladin Akyurek
AskWoody LoungerThe last VLOOKUP (in the original) seems to suggest that ‘Raw materials’!$A$2:$CQ$1799 is sorted in ascending order on its first column…
What follows might be more efficient while compact…
[1] In case the lookup area on Raw materials is sorted:
=IF(LOOKUP(REPT(“z”,255),CHOOSE({1,2},””,VLOOKUP(‘Enter formula’!$H7,’Raw materials’!$A$2:$CQ$1799,95)))=”colorant”,VLOOKUP(‘Enter formula’!$H7,’Raw materials’!$A$2:$CQ$1799,79),”-“)
[2] For unsorted data:
=IF(LOOKUP(REPT(“z”,255),CHOOSE({1,2},””,VLOOKUP(‘Enter formula’!$H7,’Raw materials’!$A$2:$CQ$1799,95,0)))=”colorant”,VLOOKUP(‘Enter formula’!$H7,’Raw materials’!$A$2:$CQ$1799,79,0),”-“)
![]() |
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
-
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
13 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
3 hours, 34 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
8 hours, 40 minutes ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
20 hours, 35 minutes ago -
Problem using exfat drives for backup
by
Danmc
20 hours, 53 minutes ago -
I hate that AI is on every computer we have!
by
1bumthumb
22 hours, 12 minutes ago -
Change Info in the Settings window
by
CWBillow
1 day, 3 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
1 day, 9 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
19 hours, 43 minutes ago -
Use of Gmail rejected.
by
CBFPD-Chief115
20 hours, 23 minutes ago -
WuMgr operational questions
by
Tex265
2 hours, 49 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
2 days, 1 hour ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
1 day, 1 hour ago -
Backing up Google Calendar
by
CWBillow
2 days, 7 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
2 days, 20 hours ago -
File Naming Conventions (including Folders)
by
Magic66
1 day, 19 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
3 days, 3 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
2 days, 14 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
1 day, 20 hours ago -
Adding Microsoft Account.
by
DaveBRenn
3 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
4 days, 4 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
4 days, 5 hours ago -
Windows 11 won’t boot
by
goducks25
1 day, 21 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
3 days, 18 hours ago -
Rest in Peace
by
Roy Lasris
4 days, 23 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
1 day, 21 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
5 days ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
1 day, 15 hours ago -
Long Time Member
by
jackpet
5 days, 2 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
1 hour, 51 minutes 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.