-
WSkjktoo
AskWoody LoungerGreat solution, Hans. I didn’t even think to use SUMIF for this. Funny thing is that I was playing around with the problem today, and came across a solution using LOOKUP instead of VLOOKUP or MATCH/INDEX. Like this:
=SUMPRODUCT(A8:A13*LOOKUP(B8:B13,F7:F30,G7:G30))/100
However, I think your solution is preferable because LOOKUP is fussy about the search order and thus is more prone to error if something is not in the proper order.
Thanks,
Ken -
WSkjktoo
AskWoody LoungerThanks to all for the input. Looks like I’ll be using an intermediate column.
Ken
-
WSkjktoo
AskWoody LoungerThanks Jezza, Rory, and Hans. Got lots of options now.
Ken
-
WSkjktoo
AskWoody LoungerHere’s an array formula that will find the last “/” no matter how many owners. Enter using Ctrl-Shift plus Enter
=RIGHT(C2,LEN(C2)-MAX(IF(MID(C2,ROW(INDIRECT(“1:”&LEN(C2))),1)=”/”,ROW(INDIRECT(“1:”&LEN(C2))),0)))
Ken
-
WSkjktoo
AskWoody LoungerAn alternative would be to enter an apostrophe in the blank linked cell which forces excel to see null text.
-
WSkjktoo
AskWoody Loungerfor my verson of Excel (2000) if I append /e to the command in the shortcut Excel opens with no workbook.
Ken
-
WSkjktoo
AskWoody LoungerHere’s a more generic version that I assigned a hot key to. Just select any group of cells, hit the hot key and paste the sum where you will.
Sub SelectionSumCopy()
‘may need to create and delete a userform in order
‘to force a reference to MS Forms 2.0 Object Lib
Dim MyData As DataObject
Set MyData = New DataObject
MyData.SetText Application.WorksheetFunction.Sum(Selection)
MyData.PutInClipboard
End Sub -
WSkjktoo
AskWoody LoungerFred
Here is a version with conditional formatting that highlights only grades just below the threshold of a higher grade.
Ken
-
WSkjktoo
AskWoody LoungerThank you!
Ken
-
WSkjktoo
AskWoody LoungerSee if this VBA subroutine will help.
AddISERROR will take a formula and wrap “=IF(ISERROR(FORMULA),””,FORMULA)” if there is no ISERROR already in the formula. If you have a really long formula this might create a resulting formula too long for XL to handle.Sub AddISERROR() Dim rngCell As Range Dim I As Long Dim iCalculationState As Integer Dim Work As String iCalculationState = Application.Calculation Application.Calculation = xlCalculationManual For Each rngCell In Selection If rngCell.HasFormula Then If InStr(rngCell.Formula, "ISERROR") = 0 Then Work = Right(rngCell.Formula, Len(rngCell.Formula) - 1) rngCell.Formula = "=IF(ISERROR(" & Work _ & "),""""," & Work & ")" End If End If Next Application.Calculation = iCalculationState Application.Calculate End Sub
Also, I recall some months back a user-defined error function created by some loungers
that only required one instance of the formula being tested, not two.
Later Found it!: post 87,625
Ken -
WSkjktoo
AskWoody LoungerFolluwup:
I emailed a copy of the troublesome template to MIS who checked it on his machine using the same printer driver as I had and he did not have a problem printing. Then, later I came across a prior version of the template I had saved, so I tested it…it printed fine. Then I updated the old version with the changed code in the newer troublesome version. Problem solved. Seems there was a corruption in my template that didn’t show up under 97 that did show up under XP. -
WSkjktoo
AskWoody LoungerIndeed a more elegant solution. The problem is that the delimiter is (as far as I can tell, and I’m no expert in VBA) a “sticky” argument, but not an accessible property. If there’s a way to do what you suggest, I’d really like to know what it is. Reapplying the TextToColumns method with a different delimiter is the only way I’ve been able to get around it.
Thanks,
Ken -
WSkjktoo
AskWoody LoungerThank you for the response. Seems the retention of TextToColumns delimiter characters is another MS feature that can be a nuisance. To resolve the problem I decided to use the principle that a program should clean up after itself. So in my macro that used the TextToColumns method, added at the end, I had it run a “dummy” run of the method by 1) forcing the selection to a single cell, 2) saving the contents in a variable, 3) putting a space character in the cell, 4) running the TextToColumns method using a space as the delimiter on the single cell, and 5) restoring the contents of the active cell. This resets the delimiter data in Excel so it ignores decimal points previously used.
-
WSkjktoo
AskWoody LoungerThanks Hans! Works Great.!
-
WSkjktoo
AskWoody LoungerThanks. I thought it would be something simple. Duh.
![]() |
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
-
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
4 hours, 59 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
8 hours, 57 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
8 hours, 59 minutes ago -
Unable to eject external hard drives
by
Robertos42
8 hours, 35 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
2 hours, 16 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
9 hours, 4 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 13 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
15 hours, 37 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
1 day, 19 hours ago -
Upgrade Sequence
by
doneager
1 day, 12 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 12 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
11 hours, 24 minutes ago -
The incredible shrinking desktop icons
by
Thumper
2 days, 16 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
2 days, 17 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 13 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 2 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 3 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 7 hours ago -
Speeding up 11’s search
by
Susan Bradley
15 hours, 26 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 3 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 days, 17 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days ago -
24H2 fixed??
by
CWBillow
2 days, 17 hours ago -
Uninstalr Updates
by
jv16
4 days, 5 hours ago -
Apple zero days for April
by
Susan Bradley
2 hours, 29 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 3 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
5 days, 4 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
4 days, 11 hours ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
4 days, 18 hours ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
5 days, 13 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.