-
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
-
Backing up Google Calendar
by
CWBillow
43 minutes ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
13 hours, 20 minutes ago -
File Naming Conventions (including Folders)
by
Magic66
11 hours, 5 minutes ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
20 hours, 38 minutes ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
7 hours, 16 minutes ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
15 hours, 5 minutes ago -
Adding Microsoft Account.
by
DaveBRenn
22 hours, 3 minutes ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
1 day, 21 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
1 day, 21 hours ago -
Windows 11 won’t boot
by
goducks25
2 days, 11 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
1 day, 11 hours ago -
Rest in Peace
by
Roy Lasris
2 days, 16 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
2 days, 15 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
2 days, 16 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
1 day, 21 hours ago -
Long Time Member
by
jackpet
2 days, 19 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
13 hours, 25 minutes ago -
What I learned from Woody Leonhard
by
B. Livingston
2 days, 12 hours ago -
Windows Settings today
by
Simon Bisson
3 days, 3 hours ago -
Mail Merge magic in Microsoft Word
by
Peter Deegan
1 hour, 44 minutes ago -
Businesses in the crosshairs
by
Susan Bradley
1 day, 17 hours ago -
Double-row taskbar?
by
CWBillow
9 hours, 15 minutes ago -
Upgrading non-supported HW to Win 11
by
RetiredGeek
18 hours, 50 minutes ago -
Audio locks up after 15 minutes
by
WSArthurR
18 hours, 21 minutes ago -
Copilot app uninstalled
by
Susan Bradley
1 hour, 59 minutes ago -
Strongbox Password Manager Sold to Applause Group – Cost Escalation Imminent
by
Paul T
4 days, 13 hours ago -
SharePoint
by
CBFPD-Chief115
3 days, 11 hours ago -
Google replacing Google Assistant with Gemini AI assistant
by
Alex5723
4 days, 16 hours ago -
You can no longer stop Alexa from sending voice recordings to Amazon
by
Alex5723
4 days, 16 hours ago -
Meeting Woody in person
by
Susan Bradley
14 hours, 55 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.