Is there a way to count the number of integers in e.g.
8400,3311 ,5123, a23 = 3
3323,9993,4abc, 1990 = 3
[email protected] = 3
A245,5555,113$.AB = 1
Only counting the sets of 4 digits, excludes all alphabet.
Is there a way to count the number of integers in e.g.
8400,3311 ,5123, a23 = 3
3323,9993,4abc, 1990 = 3
[email protected] = 3
A245,5555,113$.AB = 1
Only counting the sets of 4 digits, excludes all alphabet.
Hi and welcome to the forum
Im sure that someone will give you a better solution, but until then, see if this is something you can use...
1. use Text-to-Columns to split the string, using both , (comma) and . as the delimiters. This will give you most of the numbers, you may need to do T2C again with @
2. use =count(range) to give you the qty of mumbers
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Hi and welcome to the forum
Im sure that someone will give you a better solution, but until then, see if this is something you can use...
1. use Text-to-Columns to split the string, using both , (comma) and . as the delimiters. This will give you most of the numbers, you may need to do T2C again with @
2. use =count(range) to give you the qty of mumbers
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks