Reconciliation:
For my job I do a lot of reconciling of invoices. For example if we invoice a customer for 504.02 and they pay only 420.00 I need to find out what they didn
![]() |
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 |
-
Finding Sum of X in a column (Excel 97)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Finding Sum of X in a column (Excel 97)
- This topic has 8 replies, 5 voices, and was last updated 23 years, 6 months ago.
AuthorTopicreickmann
GuestOctober 15, 2001 at 10:02 pm #1770930Viewing 1 reply threadAuthorReplies-
WSColinBurrows
AskWoody Lounger -
reickmann
GuestOctober 15, 2001 at 11:48 pm #1789141The code looks great, and almost exactly what I need, however the attached file, is missing a subroutine/function called round() //Called by Function GetRound()
Any idea where I can get that from?
P.S. Did you write this program yourself? Or is there another source that I can look for similar code at. Ala CPAN.org for perl code.
-
WSColinBurrows
AskWoody LoungerOctober 16, 2001 at 12:11 am #1789142Yes, I did write the program myself. Don’t know of any particular source to find similar code, although there are various Excel-related sites out there (John Walkenbach, Stephen Bullen, Chip Pearson) that you may find useful.
Regarding the Round() function, that must be something that’s available in Excel 2000 but not in Excel 97. You could try replacing it with Application.WorksheetFunction.Round, although I have a feeling that may only work in Excel 2000, also. Perhaps somebody else on the board has a solution/suggestion?
-
WSGlennB
AskWoody Lounger
-
-
-
WSfburg
AskWoody LoungerDecember 12, 2001 at 7:48 am #1793502Colin,
Believe it or not, I’m just looking at your find utility from Oct (yes of 2001).
It’s a great tool – something I could have used a while ago. So I thought I’d give it a look.
It worked great when I searched for 80 – finding the 2 cells of 40 and 44.02.
But I tried a few other things with mixed results (setting degree of accuracy to within 10):
– find 210 (with the 2 cells 200 and 220 in the range): no matches
– incremented the find to 211, 212…214: also no matches
– find 217: the utility found 220 but the search-for part of the resulting user form showed I was searching for 220 (whereas my seach on 80 above did show 80 in the search for). In fact, the input form changed my total to the number rounded before the search began. This might explain the 2nd item.Is this the intended behavior. I would think searching for 214 within an accuracy of 10 should result in 220 being found.
Similarly, I tried searching for 210 to an accuracy of 100. It found 200 and 220 as single amounts and 200+40 and 200+44.02. But did not find 220+…
I’m wondering if the rounding is part of the issue? Or maybe it’s just the interpretation I give to “degree of accuracy”.
Fred
-
WSColinBurrows
AskWoody LoungerDecember 13, 2001 at 1:04 am #1793503For better or worse, it *IS* actually behaving as intended. As you guessed it’s really down to the interpretation of ‘degree of accuracy’. What I was anticipating was that you would be searching a list of dollar amounts, such as in a check register. Suppose you’re looking for amounts totalling 128 dollars, give or take a few cents – i.e., you’re not sure of the exact amount. Setting 128 as the target and 1 as the degree of accuracy will find any amount between 127.50 and 128.49. If that doesn’t find anything, you could broaden the search by making the target 130 and the degree of accuracy 10. This will find amounts between 125.00 and 134.99.
Given the above, that’s why the target amount changes sometimes. If you’re searching with the degree of accuracy set at 10, target amounts should be divisible by 10.
Hope you follow what I mean. If not, let me know. -
WSfburg
AskWoody LoungerDecember 13, 2001 at 8:44 pm #1793504Colin,
Thanks for the reply. I kind of thought the answer would be what it was. I do intend to use your utility if the occasion arises again (which I think it would).
So perhaps one small suggestion (I’m at home and don’t have the utility in front of me): playback the selected parameters (what was entered to search for, the degree of accuracy,…) AND the search range that the utility will look for. I still think that a “Degree of accuracy of 10” should be interpreted as plus or minus 10 from the target but that’s just me.
And thanks for sharing.
Fred
-
-
-
-
krweaver
AskWoody LoungerOctober 17, 2001 at 12:14 am #1789157Colin’s solution is very good. I got curious and generated the combinations for 7 items taken 1, 2, etc. at a time (using another application where it was easier than trying to do it in Excel), pasted them into a sheet, and did some playing around with it.
Just thought you might be curious, so I attached the workbook.
Viewing 1 reply thread -

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
-
Very Quarrelsome Taskbar!
by
CWBillow
3 hours, 28 minutes ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
6 hours, 13 minutes ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
7 hours, 31 minutes ago -
Is your battery draining?
by
Susan Bradley
9 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
9 hours, 28 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
10 hours, 4 minutes ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
13 hours, 19 minutes ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
4 hours, 2 minutes ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
6 hours, 34 minutes ago -
National scam day
by
Susan Bradley
9 hours, 29 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
30 minutes ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
1 day, 11 hours ago -
Tools to support internet discussions
by
Kathy Stevens
1 day, 17 hours ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
1 day, 2 hours ago -
AI is good sometimes
by
Susan Bradley
1 day, 18 hours ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
1 day, 8 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
2 days, 18 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
2 days, 17 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
2 days, 21 hours ago -
Excessive security alerts
by
WSSebastian42
1 day, 11 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
3 days, 6 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
3 hours, 55 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
2 days, 17 hours ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
1 day, 11 hours ago -
OS news from WWDC 2025
by
Will Fastie
21 hours, 32 minutes ago -
Need help with graphics…
by
WSBatBytes
2 days, 1 hour ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
3 days, 22 hours ago -
Totally remove or disable BitLocker
by
CWBillow
2 days, 21 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
3 days ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
4 days, 8 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.