-
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, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Perplexity CEO says its browser will track everything users do online
by
Alex5723
6 hours, 24 minutes ago -
Login issues with Windows Hello
by
CWBillow
7 hours, 9 minutes ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
9 hours, 22 minutes ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
18 hours, 42 minutes ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
18 hours, 48 minutes ago -
Google AI is now hallucinating idioms
by
Alex5723
19 hours, 19 minutes ago -
april update
by
69800
15 hours, 18 minutes ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
20 hours, 14 minutes ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
20 hours, 26 minutes ago -
WuMgr not loading?
by
LHiggins
21 hours, 2 minutes ago -
Word crashes when accessing Help
by
CWBillow
31 minutes ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
20 hours, 5 minutes ago -
Blank Inetpub folder
by
Susan Bradley
17 hours, 29 minutes ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
1 day, 6 hours ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
17 hours, 2 minutes ago -
Wait command?
by
CWBillow
23 hours, 53 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
1 day, 13 hours ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
1 day, 19 hours ago -
Windows 10 finally gets fix
by
Susan Bradley
2 days, 4 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
2 days, 6 hours ago -
How to use Skype after May?
by
Joann
14 hours, 24 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
2 days ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
2 days, 19 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
2 days, 19 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
4 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
1 day, 1 hour ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
3 days, 7 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
3 days, 11 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
3 days, 11 hours ago -
Unable to eject external hard drives
by
Robertos42
1 day, 21 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.