-
WSchipshot
AskWoody LoungerI’m not using the formats as my criteria. I’m using the column labels you showed in your previous post. If the column labels are not predictable, then my solution won’t work. The spreadsheet you posted has different column labels. Also, you seem to only want to include Me,You & Her. Why is Him excluded?
It would be pretty easy to write a custom function that would average all nonzero, percent-formatted numbers in a range. If you want to go that route, I can do that for you. But your last spreadsheet has confused me about the criteria for inclusion.
-
WSchipshot
AskWoody LoungerTry this:
=SUMIF(A1:H1,”Percent”,A2:H2)/SUMPRODUCT((A1:H1=”Percent”)*(A2:H20))
-
WSchipshot
AskWoody LoungerI was able to make this work as described in the newsletter, but I was confused as to how the function could work when used in a range name, but not when typed directly into a cell. If I type 4+5 into A1 and =evaluate(A1) into B1, I get a dialog box that says “That function is not valid”. Are there other functions that only work when used in a range name? Maybe I’m not familiar enough with Excel4. I didn’t start using Excel until version 5.
-
WSchipshot
AskWoody LoungerCreate a separate data series for Actual and Goal.
Right click on the Goal column. Under “Format Data Series”, assign Goal to the secondary Y axis. I’ve also adjusted the width of the Goal column by adjusting the “Gap Width”.
Make sure your secondary y axis has the same scale as your primary y axis.
See attached example.
-
WSchipshot
AskWoody LoungerCreate a separate data series for Actual and Goal.
Right click on the Goal column. Under “Format Data Series”, assign Goal to the secondary Y axis. I’ve also adjusted the width of the Goal column by adjusting the “Gap Width”.
Make sure your secondary y axis has the same scale as your primary y axis.
See attached example.
-
WSchipshot
AskWoody LoungerIf your list starts in B2 and there are no embedded blank entries, you can try:
=average(offset(B2,count(B2:B100)-1,0,-min(5,count(B2:B100)),1))
If there are embedded blank entries, then you need to tell us how those should be considered in your average. Do you still want the last 5 days (even if there may be fewer than 5 data points), or do you want the last 5 observed data points?
-
WSchipshot
AskWoody LoungerIf your list starts in B2 and there are no embedded blank entries, you can try:
=average(offset(B2,count(B2:B100)-1,0,-min(5,count(B2:B100)),1))
If there are embedded blank entries, then you need to tell us how those should be considered in your average. Do you still want the last 5 days (even if there may be fewer than 5 data points), or do you want the last 5 observed data points?
-
WSchipshot
AskWoody LoungerI logically solved it in about 2 minutes. But then, I’m a math geek.
Spoiler:
From the thousands column, you know that T=S+1. Based on that info, the ones column tells you that P=9. If P=9, then the tens column tells you that I is either 4 or 9. Since P=9, then I=4. The rest should be obvious. -
WSchipshot
AskWoody LoungerI logically solved it in about 2 minutes. But then, I’m a math geek.
Spoiler:
From the thousands column, you know that T=S+1. Based on that info, the ones column tells you that P=9. If P=9, then the tens column tells you that I is either 4 or 9. Since P=9, then I=4. The rest should be obvious. -
WSchipshot
AskWoody LoungerMy example was purposely extreme, but yes, 4 is my answer. More typically, we add 20 dollar amounts but every displayed number is rounded to the nearest thousand or million dollars. The total does not always add up to the sum of the displayed numbers, but it’s more important that the total be correct. If anyone questions it, we just say it’s rounding and everyone accepts that. The alternative is to display the decimal points, but that leads to a more cluttered presentation which is usually deemed to be a worse solution.
-
WSchipshot
AskWoody LoungerMy example was purposely extreme, but yes, 4 is my answer. More typically, we add 20 dollar amounts but every displayed number is rounded to the nearest thousand or million dollars. The total does not always add up to the sum of the displayed numbers, but it’s more important that the total be correct. If anyone questions it, we just say it’s rounding and everyone accepts that. The alternative is to display the decimal points, but that leads to a more cluttered presentation which is usually deemed to be a worse solution.
-
WSchipshot
AskWoody LoungerWhile Hans and Jan are right as always in their Excel advice, I question whether the original poster is really doing the right thing. I deal with these sorts of numbers issues all the time and we just let Excel do the calculation and display it without going through the contortions that Hans and Jan suggested. For example, if I want to add 1.5 and 2.5, adding them up gives me 4. If you add them up as displayed, you get 5. To me, 4 is the right answer.
-
WSchipshot
AskWoody LoungerWhile Hans and Jan are right as always in their Excel advice, I question whether the original poster is really doing the right thing. I deal with these sorts of numbers issues all the time and we just let Excel do the calculation and display it without going through the contortions that Hans and Jan suggested. For example, if I want to add 1.5 and 2.5, adding them up gives me 4. If you add them up as displayed, you get 5. To me, 4 is the right answer.
-
WSchipshot
AskWoody LoungerBosco,
In order to break ties, add a small random number to each calculation, i.e. a1+b1+rand()/100000000 -
WSchipshot
AskWoody LoungerBosco,
In order to break ties, add a small random number to each calculation, i.e. a1+b1+rand()/100000000
![]() |
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
-
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
1 hour, 41 minutes ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
5 hours, 6 minutes ago -
W11 24H2 – Susan Bradley
by
G Pickerell
7 hours, 2 minutes ago -
7 tips to get the most out of Windows 11
by
Alex5723
5 hours, 3 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
11 hours, 10 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
2 hours, 5 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
10 hours, 29 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
58 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
18 hours, 44 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
2 hours, 56 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 hours, 11 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
1 day, 11 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 20 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
22 hours, 37 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 day, 4 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
1 day, 15 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
3 days, 7 hours ago -
50 years and counting
by
Susan Bradley
5 hours, 21 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
8 hours, 10 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 18 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 18 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 18 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 20 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 20 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 20 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 11 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
4 days, 8 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
4 days, 8 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 17 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
4 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.