We have a spreadsheet which has a number of columns Jan to December the final column lists a number of different prices (range name
![]() |
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 |
-
SumIf problem (excel 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » SumIf problem (excel 2000)
- This topic has 6 replies, 6 voices, and was last updated 23 years, 2 months ago.
Viewing 2 reply threadsAuthorReplies-
WSAladin Akyurek
AskWoody LoungerFebruary 2, 2002 at 7:00 pm #567973Your sample data is in A1:E5 including the labels.
{0,”Jan”,”Feb”,”Mar”,”prices”;
“Green”,”a”,”b”,”d”,26;
“Blue”,”v”,”c”,0,25;
“Brown”,”c”,”a”,”d”,150;
0,0,0,”d”,260}where a 0 indicates an empty cell.
In B6 enter: =SUMPRODUCT((LEN(B2:B5)>0)+0,prices) [ where ‘prices” is the name of the range E2:E5]
Copy this formula across as far as needed.
-
WSkjktoo
AskWoody Lounger -
WSSammyB
AskWoody Lounger -
H. Legare Coleman
AskWoody PlusFebruary 3, 2002 at 12:18 am #568004Your first choice formula does not work because it is missing a couple of quotes. To insert a quote character in a string you have to use two consecutive quotes. So, to be correct, your formula would need to be:
=SUMIF(B2:B5,"""""",prices)
However, that also does not work and I think that is a bug in Excel.
My favorite to do this would be the formula below array entered:
=SUM((B2:B5"")*prices)
-
WSAladin Akyurek
AskWoody LoungerFebruary 3, 2002 at 8:24 am #568014See for the “” and “””””” in the context of COUNTIF:
http://www.mrexcel.com/wwwboard/messages/15057.html
By the way, I’d suggest Roberta to use the cheapest formula which is:
=SUMIF(B2:B5,””,prices)
if there is no formula returned blanks in the relevant ranges.
By precaution, I suggested a SUMPRODUCT formula with LEN in order to cope with the possible occurrence of formula returned blanks. Even then, your
=SUM(prices)-SUMIF(B2:B5,””,prices)
should be preferred.
-
WSBobUmlas
AskWoody LoungerFebruary 4, 2002 at 12:28 pm #568118If you’re trying to add up prices which correspond to values not equal to a single quote, then you need this:
=SUMIF(B2:B5,””””,prices) which works fine.
If you define a name, Quote, to be =””””, then use
=SUMIF(B2:B5,””"e,prices) it’ll also work. If you highlight from the first quote to the “e” in Quote and press F9, you’ll see “”””. I don’t see a problem here, nor do I see a bug. Using =SUMIF(B2:B5,””””””,prices) is comparing B2:B5 to 2 quotes, not one.
-
Viewing 2 reply threads -

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
-
Google : Extended Repair Program for Pixel 7a
by
Alex5723
24 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
4 hours, 8 minutes ago -
Wait command?
by
CWBillow
49 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
7 hours, 2 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
13 hours, 38 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
22 hours, 32 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
23 hours, 52 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
18 hours, 25 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 12 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 13 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
8 hours, 44 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
5 hours, 25 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
2 days ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 4 hours ago -
Unable to eject external hard drives
by
Robertos42
15 hours, 29 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
3 hours, 10 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
1 hour, 3 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 9 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 11 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 15 hours ago -
Upgrade Sequence
by
doneager
3 days, 8 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 14 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 7 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 12 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 13 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 12 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 6 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 23 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
8 hours, 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.