Hello; hope all are safe and well.
Attached is a table with a list of processes in Cell # A2.
I need to count these entries and provide this in Cell # B2.
Please help me with this; TIA. BJ
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » Productivity software by function – other » Count entries
You need to SPLIT the items at the carriage return and use UBOUND to find the array size. You can do this in a User Defined Function (it’s VBA).
Something like this.
Function CountProcess(sText As String) As Byte CountProcess = Ubound(Split(sText, vbCRLF)) End Function
cheers, Paul
Thank you for this; is there no way without the VBA?!
BJ
In this post, WSbenjones76 wrote:
Attached is a table with a list of processes in Cell # A2.
I need to count these entries and provide this in Cell # B2.In a different post, WSbenjones76 wrote:
I need to count the number of entries in B2 and B3 – then give a total count in B4.
Hello WSbenjones76.
If you’d be willing to try to describe your problem more completely _in the text of your post_, in a way that doesn’t require someone to view your attachment to understand specifics regarding your request for assistance, then there’s a real chance you might receive more responses…
Why? Anonymous contributors here on AskWoody are obviously not logged in, but the site requires that “You must be logged in to access attached files.” So anons are unfortunately unable to see your attachment (…unless, of course, they choose to first register and then log in – so really no need for anyone to reply stating the obvious ).
But if you’re able to restate your issue in a way that distills the specifics of your spreadsheet problem, and includes sufficient description/detail of sample content/format of important representative cells…
Obviously can’t guarantee in advance that you’ll receive other useful (non-VBA) solutions or suggestions, but maybe worth trying?
Hope this helps.
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.
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.
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.
Notifications